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 09:46:39 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus)

Tomohiro KUBOTA <address@hidden> writes:

> I think usage of non-ASCII characters here is invalid.
> (In future, we may or may not use UTF-8).

No, why?  The file is never read with the wide string functions which
would require it to be encoded in one specific charset.  It is simply
a sequence of bytes with fields separated by white spaces.  As long as
none of the non-ASCII characters uses white spaces (and no used
charset violates this rules or else it couldn't be used here) this
work just fine.  These sequences of bytes are then compared with the
content of environment variables.  No need for restrictions.

-- 
---------------.                          ,-.   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]