Commit 08e17ae5 authored by Matthias Clasen's avatar Matthias Clasen

Call setlocale in markup-parse test

This is necessary to make utf-8 text come out properly.
parent 87cb246f
#include <locale.h>
#include <string.h>
#include <stdio.h>
#include <glib.h>
......@@ -261,6 +262,8 @@ main (int argc, char *argv[])
const gchar *name;
gchar *path;
setlocale (LC_ALL, "");
g_test_init (&argc, &argv, NULL);
/* allow to easily generate expected output for new test cases */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment