diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/hi.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <assert.h> #include <err.h> +#include <locale.h> #include <regex.h> #include <stdbool.h> #include <stdio.h> @@ -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]; |