mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-03 10:40:20 +00:00
Fix mojibake for error output as well.
This commit is contained in:
@@ -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