aports/community/bitcoin/use-c-locale.patch
2023-12-22 22:21:09 +00:00

12 lines
392 B
Diff

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