|
Hi,all! I'm trying to let some foreign language characters be shown on GUI, like chinese or japanese or something. I drag the .ttf file from the Fonts folder to Unity and create a new GUISkin using this .ttf and apply it to a GUI. But still all of the non-english characters are "???". Is there anyone could give me a hand? I've stuck on this problem for a long time. THX! my unity is 2.6.1, free version. Neither on Mac or Windows could Unity show the foreign language characters correctly on GUI.
(comments are locked)
|
|
Just use UTF-8 encoding for the script.
THX, dude! I will have a try.
Aug 29 '10 at 01:08 AM
frank
Another question, maybe stupid. How can I tell whether it is UTF-8 encoding? If not, how can i transform it to UTF-8?
Aug 29 '10 at 01:12 AM
frank
@CHyTER: It should say so in your editor. To change it, there should be a menu item or preferences item somewhere. If not, get a new editor. ;)
Aug 29 '10 at 03:08 AM
Eric5h5
Thanks again...
Aug 29 '10 at 04:04 AM
frank
I changed the text to UTF-8, but they are still "???"...
Aug 29 '10 at 08:29 AM
frank
(comments are locked)
|
|
@frank I know this is a closed thread but can you tell me how did you solve this? I am facing the same problem. Checkout http://forum.unity3d.com/threads/164726-Using-unicode-(UTF-8-UTF-16)-script-in-MonoDevelop. In short: open with notepad++. Convert to utf-8 (not the one without bom). It worked for me.
Apr 04 at 05:12 PM
Gurc
(comments are locked)
|

