From a72c053f0cbb626d6a171c708033b87fb0e94363 Mon Sep 17 00:00:00 2001 From: staviq Date: Fri, 20 Oct 2023 03:04:23 +0000 Subject: [PATCH] Update common/console.cpp Co-authored-by: cebtenzzre --- common/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/console.cpp b/common/console.cpp index f3b6ec54b..932131f4f 100644 --- a/common/console.cpp +++ b/common/console.cpp @@ -118,7 +118,7 @@ namespace console { auto lang = getenv("LANG"); if (lang != nullptr && strcmp(lang, "C") && strcasestr(lang, "utf-8") != nullptr) { setlocale(LC_ALL, lang); - } else{ + } else { setlocale(LC_ALL, "C.UTF-8"); } }