aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check.c')
-rw-r--r--tests/check.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check.c b/tests/check.c
index e42f1255..601d9726 100644
--- a/tests/check.c
+++ b/tests/check.c
@@ -2,6 +2,7 @@
#include <glib.h>
#include <gmodule.h>
#include <check.h>
+#include <locale.h>
#include "bitlbee.h"
#include "testsuite.h"
@@ -91,6 +92,7 @@ int main (int argc, char **argv)
g_option_context_free(pc);
log_init();
+ setlocale(LC_CTYPE, "");
if (verbose) {
log_link( LOGLVL_ERROR, LOGOUTPUT_CONSOLE );