From 965c784e37b955ec76bb927dbb23ed8779355bac Mon Sep 17 00:00:00 2001 From: timerix Date: Mon, 13 Mar 2023 18:20:29 +0600 Subject: [PATCH] setlocale --- tests/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/main.cpp b/tests/main.cpp index 91594d1..c6876e2 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -1,7 +1,7 @@ #include "tests.h" i32 main(){ - if(!setlocale(LC_ALL, "C.UTF8")) + if(setlocale(LC_CTYPE, "C.UTF-8")!=0) kprintf("\e[93msetlocale failed\n"); kt_beginInit(); kt_initKerepTypes();