summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9b29eba4..7b9e921e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -205,6 +205,9 @@ int main(int argc, char *argv[])
// Load mingw crash handler. Won't fail if dll is not present.
LoadLibrary("exchndl.dll");
#endif
+#ifdef _WIN32
+ setlocale(LC_ALL, ".UTF8");
+#endif
// Parse command line options
Client::Options options;