diff -r 320fbfd40691 PC/launcher.c --- a/PC/launcher.c Fri Dec 20 20:47:06 2013 -0800 +++ b/PC/launcher.c Sat Dec 21 20:12:34 2013 +0600 @@ -12,6 +12,8 @@ #include #include #include +#include +#include #define BUFSIZE 256 #define MSGSIZE 1024 @@ -1324,6 +1326,8 @@ if ((wp != NULL) && (*wp != L'\0')) log_fp = stderr; + _setmode(_fileno(stdout), _O_WTEXT); + #if defined(_M_X64) debug(L"launcher build: 64bit\n"); #else