bug-glibc
[Top][All Lists]
Advanced

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

Re: non-ASCII characters in locale.alias file


From: Ulrich Drepper
Subject: Re: non-ASCII characters in locale.alias file
Date: 22 Jan 2002 17:39:49 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus)

Tomohiro KUBOTA <address@hidden> writes:

> Thus I proposed in the original message to write some instructions
> in some document files how to add these two ISO-8859-1 locale names
> to locale.alias file.

And I've repeatedly said this need not exclusively be ISO-8859-1.
Also, I have no intention to even document this file.  It should be
forgotton.  The X windows variant of the file is needed because X
doesn't normalize locale file names.  The glibc file is only their for
compatiblity.  Don't mention the file and it'll go away.

> > Certainly not.  Due something similar to what RH does with the
> > /etc/sysconfig/i18n and /etc/profile.d/lang.{sh,csh} files.  This is
> > the only sane way to deal with it.
> 
> I don't know about these files.  Are these files to be used to
> specify encoding of files in /etc and so on?

Simply look at a Red Hat installation or download it.  I haven't
created this scheme and cannot comment on all the aspects.

> If no encoding is assumed for a byte sequence, it is called "binary
> data", not "text data".

No.  The difference is in the structure.  The locale.alias file is
still line based and therefore a text file.

> Do you mean /etc/locale.alias is a binary file?  (If so, it is
> natural that we cannot edit binary file using text editors.)

You don't use Emacs?  I can edit all files.

> Anyway, the 8bit characters are ISO-8859-1, even if you think it is
> a mere byte sequence.

Some names are using ISO-8859-1.  There is no guarantee that nobody
uses different encodings.


All this goes on for too long.  Ignore the file, it's not important
and shouldn't be used.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

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