diff --git a/src/main.c b/src/main.c index e595035a7..00a4f4b1d 100644 --- a/src/main.c +++ b/src/main.c @@ -43,8 +43,8 @@ int main_real(int argc, const char *argv[]) #endif #if PLATFORM_WINDOWS // Set the console input and output codepage to utf8 to handle utf8 text correctly - SetConsoleCP(CP_UTF8); - SetConsoleOutputCP(CP_UTF8); + SetConsoleCP(65001); + SetConsoleOutputCP(65001); #endif bench_begin();