X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=fc-scan%2Ffc-scan.c;h=9302ac55927919a9b6b191f73bbd8a302d6c24b6;hb=2ed73cdd0f0785ca235adf7800e6e43137117a4c;hp=edb967c738c67f5dbc176ea668a95b26a1b661be;hpb=9f961062fee487fc411ccdd4f34f8fe52f3a5ee9;p=platform%2Fupstream%2Ffontconfig.git diff --git a/fc-scan/fc-scan.c b/fc-scan/fc-scan.c index edb967c..9302ac5 100644 --- a/fc-scan/fc-scan.c +++ b/fc-scan/fc-scan.c @@ -39,6 +39,7 @@ #include #include #include +#include #ifdef ENABLE_NLS #include @@ -110,6 +111,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, "bf:Vh", longopts, NULL)) != -1) #else