Don't call SetConsoleOutputCP
Should use wide-string function instead of SetConsoleOutputCP. Fixes #1121
This commit is contained in:
1 parent
12c60b2f32
commit
5d058fa416
2 files changed
+14
-4
No files matched your search
@@ -203,7 +203,6 @@ int main(int argc, char* argv[]) {
|
||||
jv program_arguments = jv_array();
|
||||
|
||||
#ifdef WIN32
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
_setmode(fileno(stdout), _O_TEXT | _O_U8TEXT);
|
||||
|
||||
Reference in new issue
Block a user