diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-13 18:18:05 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-13 18:18:05 -0500 |
| commit | c1a3ce985f9741e86e4873c85e100d1b6e2867e9 (patch) | |
| tree | 2b18e0e91a5d9530c20a10868610ca6f0a4986b8 /src/yuzu/debugger/console.cpp | |
| parent | 053680dc7a6f2acdf9ed833aa48aaba6e8cc09b2 (diff) | |
debugger: console: Set console output codepage to UTF-8
This allows the console to display multi-byte encoded characters.
Diffstat (limited to 'src/yuzu/debugger/console.cpp')
| -rw-r--r-- | src/yuzu/debugger/console.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/debugger/console.cpp b/src/yuzu/debugger/console.cpp index f89ea8ea78..4b508b4661 100644 --- a/src/yuzu/debugger/console.cpp +++ b/src/yuzu/debugger/console.cpp @@ -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 { |
