summaryrefslogtreecommitdiffstats
path: root/ui/ncurses
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses')
-rw-r--r--ui/ncurses/nc-cui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index 99955b3..3f82f85 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -22,6 +22,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <locale.h>
#include <sys/ioctl.h>
#include "log/log.h"
@@ -504,6 +505,8 @@ struct cui *cui_init(void* platform_info,
cui->platform_info = platform_info;
cui->waitset = waitset_create(cui);
+ setlocale(LC_ALL, "");
+
/* Loop here for scripts that just started the server. */
retry_start:
OpenPOWER on IntegriCloud