From d1d7ebd2073beab604377d7e354a05ea46313a36 Mon Sep 17 00:00:00 2001 From: Curtis 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 572276f7..906922c5 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