Set CP_UTF8 to underlying number.

This commit is contained in:
Christoffer Lerno
2026-02-14 01:49:03 +01:00
parent eb80776988
commit 14779bd467

View File

@@ -43,8 +43,8 @@ int main_real(int argc, const char *argv[])
#endif #endif
#if PLATFORM_WINDOWS #if PLATFORM_WINDOWS
// Set the console input and output codepage to utf8 to handle utf8 text correctly // Set the console input and output codepage to utf8 to handle utf8 text correctly
SetConsoleCP(CP_UTF8); SetConsoleCP(65001);
SetConsoleOutputCP(CP_UTF8); SetConsoleOutputCP(65001);
#endif #endif
bench_begin(); bench_begin();