summaryrefslogtreecommitdiffstats
path: root/src/libs/serialisation
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/serialisation')
-rw-r--r--src/libs/serialisation/Loader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/serialisation/Loader.cpp b/src/libs/serialisation/Loader.cpp
index 157756b1..25747d8d 100644
--- a/src/libs/serialisation/Loader.cpp
+++ b/src/libs/serialisation/Loader.cpp
@@ -16,6 +16,7 @@
*/
#include <iostream>
+#include <locale.h>
#include <glibmm/ustring.h>
#include <raul/RDFModel.h>
#include <raul/RDFQuery.h>
@@ -45,6 +46,8 @@ Loader::load(SharedPtr<EngineInterface> engine,
Glib::ustring patch_uri,
map<string,Atom> data)
{
+ setlocale(LC_NUMERIC, "C");
+
// FIXME: this whole thing is a mess
std::map<Path, bool> created;