summaryrefslogtreecommitdiff
path: root/gdata/tests/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdata/tests/common.c')
-rw-r--r--gdata/tests/common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdata/tests/common.c b/gdata/tests/common.c
index 1193a7ca..14c06f9e 100644
--- a/gdata/tests/common.c
+++ b/gdata/tests/common.c
@@ -19,6 +19,7 @@
#include <glib.h>
#include <glib-object.h>
+#include <locale.h>
#include <stdio.h>
#include <string.h>
#include <libxml/parser.h>
@@ -51,6 +52,8 @@ gdata_test_init (int argc, char **argv)
GError *child_error = NULL;
gint i;
+ setlocale (LC_ALL, "");
+
#if !GLIB_CHECK_VERSION (2, 35, 0)
g_type_init ();
#endif