The Script Editor uses UTF-8 encoding to edit files but the Game works with ISO 8859-1 stringencoding. That means a string, which contains special characters that are not the same in both encodings will be displayed wrongly. It would be a nice fix to just add an option in the settings to choose the file encoding for the Script Editor or at least use the same for string variables and the Script Editor.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- General
Steps To Reproduce
Running this code
string var1 = "ä"; string var2 = (0xe4).AsciiToString(); // ISO 8859-1 ä string var3 = (0xc3).AsciiToString() + (0xa4).AsciiToString(); // UTF-8 ä Print("Script Editor: "+var1); Print("ISO 8859-1: "+var2); Print("UTF-8: "+var3);
produces the following output.