summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 47f1db01..fee671aa 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -5,6 +5,7 @@
#include "test-utils.h"
#include "libsoup/soup.h"
+#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -81,6 +82,7 @@ test_init (int argc, char **argv, GOptionEntry *entries)
GError *error = NULL;
GTlsBackend *tls_backend;
+ setlocale (LC_ALL, "");
g_type_init ();
name = strrchr (argv[0], '/');