Skip to content

Commit abf77f7

Browse files
authored
Fix UTF-8 Characters in CLI Logs
1 parent 4a99e7e commit abf77f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/funkin/backend/utils/native/Windows.hx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ final class Windows {
204204
freopen("CONIN$", "r", stdin);
205205
freopen("CONOUT$", "w", stdout);
206206
freopen("CONOUT$", "w", stderr);
207+
208+
SetConsoleOutputCP(65001);
209+
SetConsoleCP(65001);
207210
')
208211
public static function allocConsole() {
209212
}

0 commit comments

Comments
 (0)