diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index 6eba2560cf..c32b0b6d33 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -5,8 +5,8 @@ #include "Core/Core.h" #include -#include #include +#include #include #include #include @@ -178,7 +178,7 @@ void DisplayMessage(const std::string& message, int time_in_ms) // Actually displaying non-ASCII could cause things to go pear-shaped for (const char& c : message) { - if (!std::isprint(c)) + if (!std::isprint(c, std::locale::classic())) return; }