Correctly set c++ locale on startup

Fixes #595
This commit is contained in:
Maxime Coste 2016-05-10 22:06:02 +01:00
parent 63ac752916
commit dd41a46c4c
4 changed files with 4 additions and 1 deletions

View File

@ -706,7 +706,7 @@ int run_pipe(StringView session)
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
setlocale(LC_ALL, ""); std::locale::global(std::locale(""));
set_signal_handler(SIGSEGV, signal_handler); set_signal_handler(SIGSEGV, signal_handler);
set_signal_handler(SIGFPE, signal_handler); set_signal_handler(SIGFPE, signal_handler);

View File

@ -0,0 +1 @@
*n

View File

@ -0,0 +1 @@
д é д … é …

View File

@ -0,0 +1 @@
1.7,1.7