commit 4ec5d33551847ca3a4c6aa02b6f3a72bff3a18d4
Author: Yuriy Skalko <[email protected]>
Date:   Thu Mar 11 16:19:44 2021 +0200

    Set correct Windows console code page since all LyX output is in UTF-8
---
 src/main.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main.cpp b/src/main.cpp
index 94b1ccd..65a9f4d 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
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to