DSGame-server fails to compile if Windows locale is set to Japanese #5805
Comments
|
More a Visual Studio issue than project issue, the files are already UTF-8 despite what VS claims. It's caused by the comments all in cyrillic, remove them locally or PR translations I guess. |
|
Thanks @zynjec. I found a few outlying non-ascii characters that were contributing to the issue, but as you said, it's mostly the cyrillic comments. I collected a list of the lines and text that need translation here: https://gist.github.com/ababyduck/34b3f640e11a3d7b13c26d6ef82f2d8a Google Translate does an ok job for some of it, but certain things are out of context (e.g. using the word "value" when describing the price of an item, which obviously has a different meaning when discussing code). If a native speaker would like to translate these, I suspect it would be helpful. Alternatively, I was able to solve the issue by adding edit: Setting charset to utf-8 rather than IBM437 works as well. |
DSGame-server was failing to compile when the Windows locale was set to certain non_english locales, due to unsupported characters found mainly in cyrillic comments. Specifying a utf-8 source allows Visual Studio to support these regardless of the host machine's locale.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

I have:
Client Version (type
/verin game) :N/A
Source Branch (master/stable) :
master
Additional Information (Steps to reproduce/Expected behavior) :
The game server fails to compile if the Windows system locale is set to Japanese. (Windows 10, VS Community 2017) Setting the locale back to English resolves this issue, but also prevents Japanese input from being used in FFXI.
This appears to be related to non-unicode characters in the following files:
...although I was not able to resolve the issue simply by saving these files in UTF-8 encoding.
Full compile output looks like this:
https://gist.github.com/ababyduck/fcf5f2313a85743b862ac0b9616fc652
To set system locale in Windows 10:
Region & Language Settings > Administrative Language Settings > Change System Locale... > Japanese (Japan) > OK
The text was updated successfully, but these errors were encountered: