projects/aports·blob master · refs

11 lines · 392 B

1--- a/src/common/system.cpp
2+++ b/src/common/system.cpp
3@@ -80,7 +80,7 @@ void SetupEnvironment()
4 try {
5 std::locale(""); // Raises a runtime error if current locale is invalid
6 } catch (const std::runtime_error&) {
7- setenv("LC_ALL", "C.UTF-8", 1);
8+ setenv("LC_ALL", "C", 1);
9 }
10 #elif defined(WIN32)
11 // Set the default input/output charset is utf-8