diff --git a/tests/testprofile.cpp b/tests/testprofile.cpp index 6dd9e898e..e650bd1cf 100644 --- a/tests/testprofile.cpp +++ b/tests/testprofile.cpp @@ -18,6 +18,8 @@ void TestProfile::init() { + setlocale(LC_ALL, "C"); + // Set UTF8 text codec as in real applications QTextCodec::setCodecForLocale(QTextCodec::codecForMib(106)); // first, setup the preferences