On 2005-02-09 21:04:02 +0000 (Wed, Feb), Paul Worrall wrote:
> Do you know where the syntax of 
> this file is documented?  The comments in the file suggest the above entry 
> would look for a file called
> 
> /usr/share/i18n/locales/en_GB.UTF-8
> 
> but no such file exists.

Good question.
All the knowledge I got from this comment. ;-)

I suppose that the comment is not precise.
Quoting:
http://www.debian.org/doc/manuals/intro-i18n/ch-locale.en.html :
> The syntax to build a locale name is determined as follows:
>       [EMAIL PROTECTED]

However I would examine the build procedure of glibc to be sure (if I
had time to do so)

Additionally you may examine the 'localedef' utility and run:
  localedef  -c  -f  UTF-8  -i  en_GB  en_GB.UTF-8
for such 'non-existing' locales, but:
  
- I have  pl_PL.UTF-8  and  pl_PL  defined in locales.build
- there is no  pl_PL.UTF-8  in /usr/share/i18n/locales
- I don't recall running localedef manually
- setting  LC_ALL=pl_PL.UTF-8  gives me messages in UTF-8, while
  LC_ALL=pl_PL  makes them to be in ISO-8859-2 encoding.

As the locales.build file is for building glibc, the answer may be out there.

Attachment: pgpLjjDqIGMZR.pgp
Description: PGP signature

Reply via email to