Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Lando100 on November 21, 2012, 11:57:05 AM
-
if I enter "•" through code e.g. UILabel.text = string1 + " • " + string2; the "•" appears as "???" but if i enter it manually in the inspector it appears fine!!!!!
Is this a bug or am I missing something? this has also happened with some other special characters in the past such as "°", any help or clarity would be great.
Thanks
Lando
-
Hmm, I'm not sure to be honest. Perhaps the code is defined as UTF 8 and that doesn't translate directly into string literals all that well?
-
It's because of how your code file is saved. The string you're passing isn't actually UTF8, so it can't process characters like that. Try loading from an external file instead, like Localization does.