12 lines
310 B
Text
12 lines
310 B
Text
Fix non-ascii locales
|
|
--- src/main.cpp.orig
|
|
+++ src/main.cpp
|
|
@@ -138,7 +138,7 @@ int main(int argc, char *argv[])
|
|
replayData.reset();
|
|
|
|
bindtextdomain("blobwars", LOCALEDIR);
|
|
- setlocale(LC_ALL, "");
|
|
+ bind_textdomain_codeset("blobwars", "UTF-8");
|
|
setlocale(LC_NUMERIC, "C");
|
|
textdomain("blobwars");
|
|
|