From 4ec5d33551847ca3a4c6aa02b6f3a72bff3a18d4 Mon Sep 17 00:00:00 2001 From: Yuriy Skalko Date: Thu, 11 Mar 2021 16:19:44 +0200 Subject: [PATCH] Set correct Windows console code page since all LyX output is in UTF-8 --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 94b1ccd646..65a9f4d8d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,6 +40,7 @@ int main(int argc, char * argv[]) freopen("CONOUT$", "w", stdout); freopen("CONOUT$", "w", stderr); } + SetConsoleOutputCP(CP_UTF8); #endif // To avoid ordering of global object problems with some -- 2.39.2