mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
Use UTF-8 in console
This commit is contained in:
parent
f657ab3cc6
commit
900e90efa8
@ -142,6 +142,10 @@ public:
|
||||
instance = std::unique_ptr<Impl, decltype(&Deleter)>(new Impl(log_dir / LOG_FILE, filter),
|
||||
Deleter);
|
||||
initialization_in_progress_suppress_logging = false;
|
||||
#ifdef WIN32
|
||||
// set console codepage to UTF-8
|
||||
SetConsoleOutputCP(65001);
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool IsActive() {
|
||||
|
Loading…
Reference in New Issue
Block a user