From 2938e4d72da40f6bb0d22086c519a9852a820f40 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 15 Mar 2018 12:54:02 +0900 Subject: call setlocale --- fc-query/fc-query.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fc-query') diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c index 9da090df..fbffb841 100644 --- a/fc-query/fc-query.c +++ b/fc-query/fc-query.c @@ -39,6 +39,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -115,6 +116,7 @@ main (int argc, char **argv) #if HAVE_GETOPT_LONG || HAVE_GETOPT int c; + setlocale (LC_ALL, ""); #if HAVE_GETOPT_LONG while ((c = getopt_long (argc, argv, "i:bf:Vh", longopts, NULL)) != -1) #else -- cgit v1.2.3