Files
StarterNG/StarterNG.Tests/MonitorsTests.cs
maj00r d429d041ff fix(settings): a monitor's name outside ASCII is written as the UTF-8 the simulator compares
The simulator compares the word after fullscreenmonitor byte by byte with GLFW's name of the monitor, which is UTF-8 (application.cpp, find_monitor), and has no other way to name one. eu07.ini is written in code page 1250, so a name with a letter outside ASCII never matched and the game opened on the primary monitor. That one word now goes into the file as its UTF-8 bytes, the rest staying in the code page; a name an earlier save left in the code page is read as it is and put right by the next save.
2026-11-22 14:52:51 +01:00

5.3 KiB