hi everybody,
I try to load with the text.asset a text file in a GUItext Object.
Everything is fine but only the ä ü ö characters in the text file are not printed.
How can I fix this problem?
Thanx for you help!
hi everybody,
I try to load with the text.asset a text file in a GUItext Object.
Everything is fine but only the ä ü ö characters in the text file are not printed.
How can I fix this problem?
Thanx for you help!
sure the font you use has those characters on it?
text is unicode as such it transports basically all data thats stored correctly
The Font has the character. If i write the ü ö ä characters in the GUIText Text field than the result ist right. But only in the case of loading the string from the text file the characters are lost. They simpy disappear.
The Text is not Unicode it is Dynemic. But if i cange the character to unicode than i have this error from Unity:
Font size and style overrides are only supported for dynamic fonts.
UnityEditor.DockArea:OnGUI()
Font size and style overrides are only supported for dynamic fonts.
Dynamic is nothing about text but the font. I am really talking about the text file here, perhaps you stored it in a format thats different and not supporting the signs for example etc. ensure that the editor you use supports unicode (which by definition means: don’t use notepad on windows, use wordpad if you want to use one of the preinstalled ones
)
Thanx dreamora for the tip,
now i fixed the problem with Wordpad.
cu
BOO
glad it helped