[Pld-cvs-commit] SPECS: mysql.spec - use locale that arekm tought

Andrzej Krzysztofowicz ankry at green.mif.pg.gda.pl
Mon May 16 19:32:25 CEST 2005


glen wrote:
> Index: SPECS/mysql.spec
> diff -u SPECS/mysql.spec:1.270 SPECS/mysql.spec:1.271
> --- SPECS/mysql.spec:1.270	Mon May 16 18:20:15 2005
> +++ SPECS/mysql.spec	Mon May 16 18:31:09 2005
> @@ -725,8 +725,7 @@
>  %lang(hu) %{_datadir}/mysql/hungarian
>  %lang(it) %{_datadir}/mysql/italian
>  %lang(ja) %{_datadir}/mysql/japanese
> -# FIXME: correct locale!
> -%lang(ja) %{_datadir}/mysql/japanese-sjis
> +%lang(ja_JP.SJIS) %{_datadir}/mysql/japanese-sjis

The ja_JP locale (in short ja) supports few encodings:
ujis, euc-jp and UTF-8 

ja_JP.SJIS (which should differ only in encoding) is unsupported in glibc.
So:
- it should never appear on the list on installed locales
- we do not need to add separate files for it in applications that support
  iconv() conversion
- adding support to glibc is one-liner; but is there any point to do it?

IMO this change is to be reverted, as ja is more general than ja_JP.SJIS
and if one want for some reasons to use SJIS encoding here, then it cannot
be done be setting locale to ja_JP.SJIS .

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry at mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology




More information about the pld-devel-en mailing list