[MPlayer-users] BUG: locales and configuration files

Arkadiusz Miskiewicz misiek at pld.ORG.PL
Sun Jul 28 17:40:02 CEST 2002


Petr Ferschmann <petr at ferschmann.cz> writes:

> So what is wrong?

Try this patch:

--- mp_msg.c~   Thu Jun 20 20:54:55 2002
+++ mp_msg.c    Sun Jul 28 16:40:30 2002
@@ -25,6 +25,7 @@
     fprintf(stdout, "Original domain: %s\n", textdomain(NULL));
     fprintf(stdout, "Original dirname: %s\n", bindtextdomain(textdomain(NULL),NULL));
     setlocale(LC_ALL, ""); /* set from the environment variables */
+    setlocale(LC_NUMERIC, "C");
     bindtextdomain("mplayer", PREFIX"/share/locale");
     textdomain("mplayer");
     fprintf(stdout, "Current domain: %s\n", textdomain(NULL));

>                                   Petr "Fers" Ferschmann

-- 
Arkadiusz Miśkiewicz   IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr




More information about the MPlayer-users mailing list