diff --git a/src/hlam/application/ToolApplication.cpp b/src/hlam/application/ToolApplication.cpp index 8218dfd9..947faec4 100644 --- a/src/hlam/application/ToolApplication.cpp +++ b/src/hlam/application/ToolApplication.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -113,6 +114,8 @@ int ToolApplication::Run(int argc, char* argv[]) { try { + // Use the same locale as the game for consistent behavior. + QLocale::setDefault(QLocale{ QLocale::Language::English, QLocale::Country::UnitedStates }); // Set the codec to UTF-8 if possible so I/O operations produce proper filenames. QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));