Commit 6d11a107 authored by Philip Withnall's avatar Philip Withnall Committed by Olivier Crête

tests: Add setlocale() call to test-pseudotcp.c

This ensures UTF-8 output is printed correctly.
parent e748fc62
......@@ -36,6 +36,7 @@
# include "config.h"
#endif
#include <locale.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
......@@ -252,6 +253,8 @@ int main (int argc, char *argv[])
NULL, opened, readable, writable, closed, write_packet
};
setlocale (LC_ALL, "");
mainloop = g_main_loop_new (NULL, FALSE);
g_type_init ();
......
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