mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-26 13:02:57 +00:00
debugger: console: Set console output codepage to UTF-8
This allows the console to display multi-byte encoded characters.
This commit is contained in:
parent
eaca010ee9
commit
54c7af9902
|
@ -30,6 +30,7 @@ void ToggleConsole() {
|
|||
freopen_s(&temp, "CONIN$", "r", stdin);
|
||||
freopen_s(&temp, "CONOUT$", "w", stdout);
|
||||
freopen_s(&temp, "CONOUT$", "w", stderr);
|
||||
SetConsoleOutputCP(65001);
|
||||
SetColorConsoleBackendEnabled(true);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue