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

Re: And now for something completely different... etch!

Hash: SHA1

Colin Watson <cjwatson@debian.org> writes:

> On Tue, Jun 07, 2005 at 10:28:37PM +0100, Roger Leigh wrote:
>> Tollef Fog Heen <tfheen@err.no> writes:
>> > Eh?  You can't change that around just like that, it will break in the
>> > cases where people ssh in from machines with latin1 locales for
>> > instance (and use the PassEnv feature of newer SSHs).
>> IMHO if you want features like that to work, you should be fully
>> qualifying your locale.
> en_GB.ISO-8859-1 doesn't exist unless you go to the effort of defining
> it yourself - it's not in /usr/share/i18n/SUPPORTED. (Yes, in this case
> there happens to be an ISO-8859-15 equivalent, but that's not the case
> everywhere.)
> I'm fairly sure I remember glibc upstream vowing never to change the
> meaning of existing locales. Certainly this post from a locale hacker
> well-known in these parts comes to mind:
>   http://lists.debian.org/debian-i18n/2004/10/msg00075.html

I see.  If it needs to be kept that way for backwards-compatibility,
that's fair enough.

It's interesting that they chose "eo_EO UTF-8" and
"eo_EO.ISO-8859-3 ISO-9959-3" as the locale names, though!  (If it's a
new locale, I guess there are no problems with that.)

> /usr/share/i18n/SUPPORTED is a little more than "the defaults", I think.
> It's at least standard across systems that use glibc (in that you may
> get additional entries, but you won't get different entries). This makes
> up sufficiently many systems to make me pay attention.

I took the list to mean the set of locale/codeset combinations
supported by the C library locale data, and assumed it was my choice
to name them as I saw fit.  I do worry that in 5 years time we will
hate the fact that we *must* qualify our locale with ".UTF-8" despite
the fact it is the default.  I already find it really annoying, hence
the reason I renamed them.

That said, I'd still like UTF-8 to become the default, whatever the
locale naming scheme we have to use.


- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>


Reply to: