mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 20:41:04 -04:00
Just use user-preferred locale
This commit is contained in:
parent
3eccdf6aa3
commit
a0749c7010
@ -84,8 +84,8 @@ int safe_main(std::function<int(void)> fn) {
|
|||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
folly::symbolizer::installFatalSignalHandler();
|
folly::symbolizer::installFatalSignalHandler();
|
||||||
#endif
|
#endif
|
||||||
std::locale::global(std::locale("en_US.utf8"));
|
std::locale::global(std::locale(""));
|
||||||
std::setlocale(LC_ALL, "en_US.utf8");
|
std::setlocale(LC_ALL, "");
|
||||||
|
|
||||||
setup_terminal();
|
setup_terminal();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user