mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #7890 from Morph1984/utf8-console
debugger: console: Set console output codepage to UTF-8
This commit is contained in:
commit
45bcd7f9b8
@ -30,6 +30,7 @@ void ToggleConsole() {
|
|||||||
freopen_s(&temp, "CONIN$", "r", stdin);
|
freopen_s(&temp, "CONIN$", "r", stdin);
|
||||||
freopen_s(&temp, "CONOUT$", "w", stdout);
|
freopen_s(&temp, "CONOUT$", "w", stdout);
|
||||||
freopen_s(&temp, "CONOUT$", "w", stderr);
|
freopen_s(&temp, "CONOUT$", "w", stderr);
|
||||||
|
SetConsoleOutputCP(65001);
|
||||||
SetColorConsoleBackendEnabled(true);
|
SetColorConsoleBackendEnabled(true);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user