From c9d0a90633ba5def237546ccb8debe1090df974f Mon Sep 17 00:00:00 2001 From: bdieterm <119257544+bdieterm@users.noreply.github.com> Date: Sat, 8 Jul 2023 21:37:59 +0200 Subject: [PATCH] add initialization of locales with native environment settings to the main function --- src/Main/MainGui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/MainGui.cpp b/src/Main/MainGui.cpp index bc9d7f8a59..e8495f23cc 100644 --- a/src/Main/MainGui.cpp +++ b/src/Main/MainGui.cpp @@ -97,6 +97,7 @@ private: int main( int argc, char ** argv ) { + setlocale(LC_ALL, ""); // use native environment settings #if defined (FC_OS_LINUX) || defined(FC_OS_BSD) // Make sure to setup the Qt locale system before setting LANG and LC_ALL to C. // which is needed to use the system locale settings.