Question Marks?

Get help using Construct 2

Post » Wed Jul 31, 2013 9:00 am

Hello!

I have imported a plain text .csv file into an array.

I loaded the array items into a List object.

When I look at the list there are question marks inside black diamonds where the spaces should be...

https://dl.dropboxusercontent.com/u/39000273/Untitled-1.png
B
10
S
4
G
2
Posts: 133
Reputation: 2,667

Post » Wed Jul 31, 2013 9:05 am

can you post the capx? would make it easier to help you. It looks like something with your encoding. It interprets your spaces wrong.
B
20
S
6
G
4
Posts: 347
Reputation: 4,451

Post » Wed Jul 31, 2013 9:11 am

https://dl.dropboxusercontent.com/u/39000273/Data%20Entry%20Test%20Project.capx

There you go!

I used to have a button to export the arrays to the Browser Log but they looked fine there. Its in the List that it falls apart.

Thanks!!goblynn932013-07-31 09:12:54
B
10
S
4
G
2
Posts: 133
Reputation: 2,667

Post » Wed Jul 31, 2013 7:29 pm

This is what I am seeing instead of a space:

?

I think I might have found the issue...

My CSV file is possibly encoded as ANSI instead of UTF-8?

Going to try that...

EDIT
Fixed!!

I opened up my .CSV in Notepad editor and Saved As with UTF-8 encoding instead of ANSI.

No more ?!!goblynn932013-07-31 19:37:44
B
10
S
4
G
2
Posts: 133
Reputation: 2,667


Return to How do I....?

Who is online

Users browsing this forum: newt, totoe and 6 guests