PlayerPrefs string format? Can it do Unicode?

I have saved a string using PlayerPrefs. It seems that only the ASCII characters have saved correctly. Is it possible to save Unicode characters?

Yes, it works fine; make sure to save scripts using UTF-8 when using Unityscript or UTF-16 when using C#.

–Eric

Thanks Eric,

That is brilliant. For anyone else with the same problem, make sure you save all scripts in the project with UTF-8 text encoding. It didn’t work for me when only saving the script that contained all the string code and the PlayerPrefs setting and getting.