Skip to content

Commit

Permalink
🐛 Fix unhandled characters like 'é' on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Nov 11, 2024
1 parent 3905f0b commit 56cc2da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cool
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -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"
//
Expand All @@ -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<PathsConfig>();

Expand Down

0 comments on commit 56cc2da

Please sign in to comment.