diff --git a/src/common.cpp b/src/common.cpp index 0c0633794..6a910b919 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -69,6 +69,7 @@ template <> struct TypeIs64BitInteger { enum {value = true}; }; uint32_t old_console_codepage = 0; void set_utf8_codepage() { old_console_codepage = GetConsoleOutputCP(); + SetConsoleOutputCP(65001); } void restore_old_codepage() {