- Home /
Polish letters in GUI - saving with UTF8 is not working
Hello, I've got problem with GUI. When I place symbols such as ś ę ł ź ż ó ń ą GUI shows random symbols from keyboard. I tried to save script with UTF8 but unsuccessfully. What should I do?
Answer by hlynbech · Oct 01, 2014 at 06:49 PM
By this answer below, you should save your file in UTF-16 if writing in C#.
http://forum.unity3d.com/threads/playerprefs-string-format-can-it-do-unicode.163513/
Edit: Better post here: http://forum.unity3d.com/threads/using-unicode-utf-8-utf-16-script-in-monodevelop.164726/
White spaces ins$$anonymous$$d of my code. Yes, I'm writing in C#. I'll check unityscript and C# general
UnityScript is JavaScript file. When I'm trying to save my C# general with UTF-16(unicode) as I said white spaces ins$$anonymous$$d of code. Ideas?
Which editor are you using? $$anonymous$$onoDevelop should be fairly ok with this. http://forum.unity3d.com/threads/using-unicode-utf-8-utf-16-script-in-monodevelop.164726/
Its funny - script works great on Latin ISO. Thanks and I'll give you +