diff options
author | Glenn Maynard <glenn@zewt.org> | 2012-07-18 21:32:11 -0400 |
---|---|---|
committer | Glenn Maynard <glenn@zewt.org> | 2012-07-18 21:32:11 -0400 |
commit | 5a48630cbd9c2636ebc744e7e1712e2865598253 (patch) | |
tree | 7ddc2605ba588eacd040a5e295fbc5e392ac2fd3 /addons/skin.confluence/media/OSDRandomOffNF.png | |
parent | fbb95f4bbeafc07e51c645b5479a9bb8c7fa529c (diff) |
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.
Diffstat (limited to 'addons/skin.confluence/media/OSDRandomOffNF.png')
0 files changed, 0 insertions, 0 deletions