From e050b01394f85779fd1403f5938b37fa53aa974c Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 12 Feb 2019 00:43:00 -0500 Subject: Call setlocale in hi --- bin/hi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/hi.c b/bin/hi.c index 8a254ce9..e10d120a 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -588,6 +589,8 @@ static bool findOption(enum Option *opt, const char *key) { } int main(int argc, char *argv[]) { + setlocale(LC_CTYPE, ""); + const char *name = NULL; struct Language lang = {0}; struct Format format = Formats[0]; -- cgit 1.4.1