From 54c7af99020974189a47a11f191c66246f34ad75 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sun, 13 Feb 2022 18:18:05 -0500 Subject: debugger: console: Set console output codepage to UTF-8 This allows the console to display multi-byte encoded characters. --- src/yuzu/debugger/console.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/yuzu/debugger/console.cpp b/src/yuzu/debugger/console.cpp index f89ea8ea7..4b508b466 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 { -- cgit v1.2.3