]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
main: set locale to C.utf8 by default (intlconv), issue #4956
authorJaroslav Kysela <perex@perex.cz>
Mon, 19 Feb 2018 19:55:29 +0000 (20:55 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 Feb 2018 19:55:29 +0000 (20:55 +0100)
src/main.c

index 01b27e92a27fb6066f4a235d74acf2901077e8ed..50991d018dd196aca1b5cd7a70b4efb2957fac73 100644 (file)
@@ -921,7 +921,7 @@ main(int argc, char **argv)
   tvheadend_cwd = dirname(tvh_strdupa(tvheadend_cwd0));
 
   /* Set locale */
-  setlocale(LC_ALL, "");
+  setlocale(LC_ALL, "C.utf8");
   setlocale(LC_NUMERIC, "C");
   tvh_gettext_init();