Please sign in to comment.
Fix the Windows build on Japanese systems.
guilib/LocalizedStrings.cpp was in ISO-8859-1. MSVC only autodetects UTF-8; if a file isn't UTF-8, it assumes it's in the ANSI codepage, which depends on the build system. That means this file was detected correctly on US English systems (whose encoding is very similar to 8859-1), but incorrectly on others. This caused the compiler to choke, since it misinterprets the non-ASCII characters as SJIS, causing the quotes after the strings to be mojibake'd away and giving unterminated string literal errors. Convert this file to UTF-8, so it's autodetected in any system codepage. This needs to be tested in other build environments. I don't expect problems with gcc; it builds UTF-8 sources without trouble.
- Loading branch information...