libxfce4util i18n broken

Jasper Huijsmans jasper at moongroup.com
Thu Aug 7 11:46:13 CEST 2003


Op do 07-08-2003, om 11:42 schreef Jasper Huijsmans:
> Op do 07-08-2003, om 11:34 schreef Benedikt Meurer:
> > On Thu, 07, Aug 2003, Jasper Huijsmans wrote:
> > 
> > > > I think its a problem with your setlocale() implementation. Please try
> > > > the following program:
> > > > 
> > > > #include <locale.h>
> > > > int main() {
> > > >  setlocale(LC_ALL, NULL);
> > > > printf("LOCALE: %s\n", setlocale(LC_MESSAGES, NULL));
> > > > return 0; }
> > > > 
> > > > And tell me what that gives me for you LANG=<whatever> cases above.
> > > > 
> > > 
> > > [~]$ env | grep LC
> > > LC_NUMERIC=en_US
> > > LC_ALL=nl_NL at euro
> > > LC_MESSAGES=nl_NL at euro
> > > [~]$ ./locale_test 
> > > LOCALE: C
> > 
> > Yes, thats what I expected. Your libc does not know how to handle
> > nl_NL at euro. That says, libxfce4util is ok, but your LC_* vars are
> > wrong IMHO.
> > 
> 
> no, they are part of glibc.
> 
> with the NULL's changed to "":

ok, only first call must be "".





More information about the Xfce4-dev mailing list