bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default Windows locale for localename.c


From: Eli Zaretskii
Subject: Re: Default Windows locale for localename.c
Date: Thu, 15 Mar 2018 10:37:10 +0200

> Cc: Eli Zaretskii <address@hidden>
> From: address@hidden
> Date: Tue, 13 Mar 2018 23:45:08 +0300
> 
> >>> And what does setlocale(LC_ALL,NULL) return on that system?
> >>>
> >>
> >> It returns "C".
> > 
> > Really?  That's strange.

Sorry, I guess I didn't make myself clear enough.  Every C program
starts with a C locale; what I meant is what does setlocale return
after you do this:

  setlocale (LC_ALL, "");

I expect it to return "English_United States.1251" in all the
categories.  If that's what happens in your case, then the only
problem with gettext is that it doesn't call gl_locale_name, but
instead calls gl_locale_name_posix directly.  I'd say it's a gettext
bug.

Bruno?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]