mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-08 03:49:44 -04:00
fix: explicitly set UTF8 code page on windows
This commit is contained in:
parent
7a7d336176
commit
294d711db2
@ -324,6 +324,9 @@ void setup_default_locale() {
|
||||
<< "\n";
|
||||
}
|
||||
}
|
||||
#ifdef _WIN32
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string error_cp_to_utf8(std::string_view error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user