aboutsummaryrefslogtreecommitdiff
path: root/tools/android/depends/afpfs-ng/Makefile
diff options
context:
space:
mode:
authorGlenn Maynard <glenn@zewt.org>2012-07-18 21:32:11 -0400
committerGlenn Maynard <glenn@zewt.org>2012-07-18 21:32:11 -0400
commit5a48630cbd9c2636ebc744e7e1712e2865598253 (patch)
tree7ddc2605ba588eacd040a5e295fbc5e392ac2fd3 /tools/android/depends/afpfs-ng/Makefile
parentfbb95f4bbeafc07e51c645b5479a9bb8c7fa529c (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 'tools/android/depends/afpfs-ng/Makefile')
0 files changed, 0 insertions, 0 deletions