Set correct Windows console code page since all LyX output is in UTF-8

This commit is contained in:
Yuriy Skalko 2021-03-11 16:19:44 +02:00
parent 71268e859d
commit 4ec5d33551

View File

@ -40,6 +40,7 @@ int main(int argc, char * argv[])
freopen("CONOUT$", "w", stdout); freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr); freopen("CONOUT$", "w", stderr);
} }
SetConsoleOutputCP(CP_UTF8);
#endif #endif
// To avoid ordering of global object problems with some // To avoid ordering of global object problems with some