Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Chaosgod_Espér on April 11, 2014, 04:07:04 PM
-
hi there..
Today i tried to create a Textviewer. This Window loads a *.txt file via WWW, and sets a Label.text to the loaded one.
The code works.. but the text is shown up with the black diamond "?", instead of ßÄäÖöÜü
So i saved the file as UTF-8 TXT.. it worked..
Question now - is there a way to auto-convert those signs?
-
The font you're using must actually have the appropriate glyphs inside it.
-
they surely have. I copied them from my Windows/Fonts folder into my asset folder, and marked them to be used by the Labels in UILabel.
What i meant is:
when one of my team meber forget to use UTF-8, and uses ANSI instead.. is there a command to try to convert the Label.text to UTF-8?
-
Oh, yes... depends on the editor you're using though. In Visual Studio it's via File -> Advanced Save Options.