mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-08 22:01:47 -04:00
Fix mojibake for error output as well.
This commit is contained in:
1 parent
16ba9e964c
commit
80fc2e5107
1 file changed
+1
@@ -69,6 +69,7 @@ template <> struct TypeIs64BitInteger<i64> { enum {value = true}; };
|
||||
uint32_t old_console_codepage = 0;
|
||||
void set_utf8_codepage() {
|
||||
old_console_codepage = GetConsoleOutputCP();
|
||||
SetConsoleOutputCP(65001);
|
||||
}
|
||||
|
||||
void restore_old_codepage() {
|
||||
|
||||
Reference in new issue
Block a user