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

Bug#312927: glibc: Please use UTF-8 as the default locale codeset



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

GOTO Masanori <gotom@debian.or.jp> writes:

> At Fri, 10 Jun 2005 21:45:00 +0100,
> Roger Leigh wrote:
>> The following patch
>> reorders SUPPORTED when embedding the list in locales.config, so that
>> UTF-8 locales are listed before all other locales, which are placed at
>> the end of the list.
>
> The concept of your patch seems fine for me.  I heard that
> debian-installer BoF in debconf5 decided to switch UTF-8 as default
> locale in installer.  So normal users who use just debian-installer
> will move to UTF-8 in etch.

OK.

> However, I don't know it's nice idea to put all UTF-8 locales at the
> top.  Actually many users have not switched to UTF-8 yet, so they want
> to select both UTF-8 and obsolete charsets at the same time.  So,
> instead, I would like to change as follows:
>
>   - The current order of SUPPORTED list (appeared at the first screen
>     of dpkg-reconfigure locales) is for example:
>
> 	iw_IL ISO-8859-8
> 	iw_IL.UTF-8 UTF-8
> 	ja_JP.EUC-JP EUC-JP
> 	ja_JP.UTF-8 UTF-8
>
>     But the new order of SUPPORTED list is for example:
>
> 	iw_IL.UTF-8 UTF-8
> 	iw_IL ISO-8859-8
> 	ja_JP.UTF-8 UTF-8
> 	ja_JP.EUC-JP EUC-JP

OK.  I have no problem with that.

>   - Selecting system standard locale (appeared at the second screen of
>     dpkg-reconfigure locales) lists UTF-8 prior than other charmaps
>     for example:
>
> 	iw_IL.UTF-8 UTF-8
> 	iw_IL ISO-8859-8
> 	ja_JP.UTF-8 UTF-8
> 	ja_JP.EUC-JP EUC-JP
>
> I would like to put this version to locales package.  I welcome your
> comments and patches.

That sounds fine.  I can rework the patch for you.

>> + UTF-8 locales are recommended.  Locales using old national character sets
>> + are provided for backwards-compatibility, but should not be used unless
>> + strictly required.
>
> I don't know whether we should recommend use of UTF-8, because
> selecting localedata via locales debconf depends on user's decision.
> IMHO we have no authority to push the claim of "should not be used
> unless strictly required".

I may have worded the text too strongly.  I was simply trying to
indicate to the user that UTF-8 locales should be preferred unless
there is a good reason to use a different character set.  This is
really aimed at users who don't know what the difference is, and might
no be sure what's most appropriate.  If they are new users, UTF-8 is
probably the right choice for them.


Regards,
Roger

- -- 
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFC3UP8VcFcaSW/uEgRAiafAKCyyXoq+h76tHS2aKZ1GOqGMeotJACeNYbf
yEzrrHC9bxKDeMvvVcvbQKI=
=Mj3r
-----END PGP SIGNATURE-----



Reply to: