From 14779bd467637eff7355d704e68e344bd19d4466 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 14 Feb 2026 01:49:03 +0100 Subject: [PATCH] Set CP_UTF8 to underlying number. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();