commit 5f870c10
Make the translations work on Windows
Changed files
| M | source/code/main.cpp before |
diff --git a/source/code/main.cpp b/source/code/main.cpp
index 42c10d4..ee79aa1 100644
--- a/source/code/main.cpp
+++ b/source/code/main.cpp
@@ -1801,6 +1801,7 @@ int main(int argc, char* argv[]) {
//Set default Config variables:
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset(PACKAGE, "utf-8");
textdomain (PACKAGE);
boost::program_options::options_description desc("Allowed options");
desc.add_options()