From df3269756ca508880dfbc509cfa3a074e963ba9b Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Fri, 26 Feb 2021 21:16:16 +0100 Subject: [PATCH] set locale (do this in the launcher, too, please!) --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4022b27..99d6cf9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,8 +6,8 @@ #include "TResourceManager.h" #include "TServer.h" #include "TUDPServer.h" -#include #include +#include #ifdef __unix #include @@ -42,6 +42,8 @@ int main(int argc, char** argv) { #endif // DEBUG #endif // __unix + setlocale(LC_ALL, "C"); + bool Shutdown = false; Application::RegisterShutdownHandler([&Shutdown] { Shutdown = true; });