From 56cc2da3b78fca4c8fd58814ade0febe85f9a66a Mon Sep 17 00:00:00 2001 From: Jules Fouchy Date: Mon, 11 Nov 2024 12:59:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20unhandled=20characters=20l?= =?UTF-8?q?ike=20'=C3=A9'=20on=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cool | 2 +- src/main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cool b/Cool index 9436f1b6..f775230c 160000 --- a/Cool +++ b/Cool @@ -1 +1 @@ -Subproject commit 9436f1b65abf42af4bd406cffda2b09a2d52955e +Subproject commit f775230cb1e7262c3c0f35f9b14071552952ba9a diff --git a/src/main.cpp b/src/main.cpp index 8b87f3fb..a4954e4f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ #include "App.h" #include "Cool/CommandLineArgs/CommandLineArgs.h" +#include "Cool/Core/set_utf8_locale.hpp" #include "Cool/Path/Path.h" #include "Cool/Path/PathsConfig.h" // @@ -19,6 +20,7 @@ class PathsConfig : public Cool::PathsConfig { auto main(int argc, char** argv) -> int { + Cool::set_utf8_locale(); Cool::command_line_args().init(argc, argv); Cool::Path::initialize();