From 98eaef69af1350e459bf9c175476d3b772968874 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 15 Mar 2018 12:17:52 +0900 Subject: Leave the locale setting to applications https://bugs.freedesktop.org/show_bug.cgi?id=105492 --- fc-conflist/fc-conflist.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fc-conflist') diff --git a/fc-conflist/fc-conflist.c b/fc-conflist/fc-conflist.c index d02273b7..5c40a0f0 100644 --- a/fc-conflist/fc-conflist.c +++ b/fc-conflist/fc-conflist.c @@ -38,6 +38,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -102,6 +103,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, "Vh", longopts, NULL)) != -1) #else -- cgit v1.2.3