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

Re: non-ASCII characters in /etc/locales.alias ?

On Wed, 2002-01-23 at 20:23, Glenn Maynard wrote:
> On Wed, Jan 23, 2002 at 01:28:54PM +0000, Alastair McKinstry wrote:
> > > OK, but this could still be done in locale itself: don't output a locale
> > > alias if the underlying locale isn't actually available.
> > 
> > If we have locales.alias generated from the locales by locale-gen, then
> > correct 'locale -a' drops out automatically; it also works if the user
> > edits the locales.alias file. If we have 'locale' censor the list, it
> > has to parse the locales directory, and presents a list that is
> > inconsistent with the locales.alias file.
> Er, no, it'd be consistent.  If an alias's target isn't available, don't
> display it; nothing is inconsistent.  It has to parse the locales
> directory already, I believe, to get the list of available locales.
> -- 
> Glenn Maynard
(Final?) proposal:

(1) Documenting locales.alias man page, saying don't add non-ASCII
elements. In fact, preferably don't add any. Explain why.

(2) 'locale -a' displays only usable aliases; none that can't be
displayed in the current locale or don't have correct locales generated.

If there are no comments by Monday, I'll submit the bug reports and
write the patches,

- Alastair

> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Alastair McKinstry, Silicon Design Group, 3Com.
Key fingerprint = 81ED 5787 E579 BA78 99FD  8243 CA18 BDC2 FCA7 8FFF

Reply to: