Game Development Community

text not showed properly once running on iPod

by Isaac Barbosa · in iTorque 2D · 03/22/2010 (1:33 pm) · 4 replies

Hi,

I don´t know why is this happening and how to fix it:

I´m using text objects in my game and words like "wasn´t" are properly showed on the MAC but on the iPod I can read only "wasnt". How can this be fixed?

Thanks!

#1
03/22/2010 (3:04 pm)
"´" isn't the same as an apostrophe. I think you might not be using UTF-8, so that symbol doesn't translate properly. Use the apostrophe instead - at least it's in ASCII 7-bit :)

This: '
Not this: ´

Correct: "wasn't"
Wrong: "wasn´t"

You'll notice the difference in most sane fonts.
#2
03/22/2010 (3:22 pm)
Thanks Ronny,

That did the trick!
#3
04/17/2010 (11:22 am)
Any ide why only 2 dots are showed?

text = "So....";
#4
04/17/2010 (11:47 am)
I see four there, and they're four individual full stops. But perhaps you're using text replacement on the Mac, which works in some programs only. That means three full stops get turned into a "…" symbol, but why would that show up as ".."? Maybe the font used doesn't have "…" and replaces it with ".", so you have "…." (two symbols) but it displays as "..".

Or it could be something else. Leave the script(s) in question somewhere people can download and inspect them :)