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-cache/fc-cache.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fc-cache/fc-cache.c') diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index dc93c19c..87e30208 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -41,6 +41,7 @@ #include #include #include +#include #if defined (_WIN32) #define STRICT @@ -302,6 +303,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, "Efrsy:Vvh", longopts, NULL)) != -1) #else -- cgit v1.2.3