diff UnitTestsSources/UnitTestsMain.cpp @ 2839:0d8b753317b2

explicitly setting the locale in unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Sep 2018 07:08:37 +0200
parents 740983056f9e
children bf019ee38498
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp	Fri Sep 21 15:48:40 2018 +0200
+++ b/UnitTestsSources/UnitTestsMain.cpp	Tue Sep 25 07:08:37 2018 +0200
@@ -1125,6 +1125,7 @@
   Toolbox::DetectEndianness();
   SystemToolbox::MakeDirectory("UnitTestsResults");
   OrthancInitialize();
+  Toolbox::InitializeGlobalLocale("en_US.UTF8");
 
   ::testing::InitGoogleTest(&argc, argv);
   int result = RUN_ALL_TESTS();