소스 검색

Merge pull request #7890 from Morph1984/utf8-console

debugger: console: Set console output codepage to UTF-8
Mai M 4 년 전
부모
커밋
45bcd7f9b8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/yuzu/debugger/console.cpp

+ 1 - 0
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 {