diff --git a/src/main.cpp b/src/main.cpp index a3901448680..a235f3b931b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -102,8 +102,7 @@ main(int argc, char *argv[]) { task_pool_util::TaskPool::task_id_t force_shutdown = nullptr; #ifdef _WIN32 - // Switch default C standard library locale to UTF-8 on Windows 10 1803+ - setlocale(LC_ALL, ".UTF-8"); + setlocale(LC_ALL, ""); #endif #pragma GCC diagnostic push