wrong charmap name for BIG5-HKSCS
Bruno Haible
haible@ilog.fr
Mon Jun 11 13:13:00 GMT 2001
Hi,
The encoding BIG5HKSCS has been added to the IANA charset registry under the
name "BIG5-HKSCS", not "BIG5HKSCS". In order to let nl_langinfo(CODESET)
return the standardized name, let's rename in glibc "BIG5HKSCS" to
"BIG5-HKSCS", and use "BIG5HKSCS" only as an alias for backward compatibility.
Furthermore, ISO-8859-14 has been added, with the aliases "ISO_8859-14"
and "ISO-CELTIC".
See http://www.iana.org/assignments/character-sets
localedata/ChangeLog:
2001-06-09 Bruno Haible <haible@clisp.cons.org>
* charmaps/BIG5-HKSCS: Renamed from charmaps/BIG5HKSCS. Change
code_set_name to BIG5-HKSCS. Add BIG5HKSCS alias.
ChangeLog:
2001-06-09 Bruno Haible <haible@clisp.cons.org>
* iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
(ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
* iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
*** glibc-20010430/localedata/charmaps/BIG5HKSCS.bak Thu Oct 26 16:16:23 2000
--- glibc-20010430/localedata/charmaps/BIG5-HKSCS Sat Jun 9 15:59:47 2001
***************
*** 1,8 ****
! <code_set_name> BIG5HKSCS
<mb_cur_max> 2
<mb_cur_min> 1
<comment_char> %
<escape_char> /
%
% Generated from the big5hkscs.c iconv module.
%
--- 1,11 ----
! <code_set_name> BIG5-HKSCS
<mb_cur_max> 2
<mb_cur_min> 1
<comment_char> %
<escape_char> /
+
+ % alias BIG5HKSCS
+
%
% Generated from the big5hkscs.c iconv module.
%
*** glibc-20010430/iconvdata/gconv-modules.bak Tue Apr 17 19:07:33 2001
--- glibc-20010430/iconvdata/gconv-modules Sat Jun 9 13:21:13 2001
***************
*** 360,365 ****
--- 360,367 ----
alias LATIN8// ISO-8859-14//
alias L8// ISO-8859-14//
alias ISO_8859-14:1998// ISO-8859-14//
+ alias ISO_8859-14// ISO-8859-14//
+ alias ISO-CELTIC// ISO-8859-14//
module ISO-8859-14// INTERNAL ISO8859-14 1
module INTERNAL ISO-8859-14// ISO8859-14 1
***************
*** 989,994 ****
--- 991,997 ----
module INTERNAL BIG5// BIG5 1
# from to module cost
+ alias BIG5-HKSCS// BIG5HKSCS//
module BIG5HKSCS// INTERNAL BIG5HKSCS 1
module INTERNAL BIG5HKSCS// BIG5HKSCS 1
*** glibc-20010430/iconvdata/tst-tables.sh.bak Sat May 26 16:58:54 2001
--- glibc-20010430/iconvdata/tst-tables.sh Sat Jun 9 13:18:57 2001
***************
*** 189,195 ****
CP949
JOHAB
BIG5
! BIG5HKSCS
EUC-JP
EUC-CN GB2312
GBK
--- 189,195 ----
CP949
JOHAB
BIG5
! BIG5HKSCS BIG5-HKSCS
EUC-JP
EUC-CN GB2312
GBK
*** glibc-20010430/iconvdata/big5hkscs.c.bak Mon May 28 03:35:42 2001
--- glibc-20010430/iconvdata/big5hkscs.c Sat Jun 9 13:18:32 2001
***************
*** 35,41 ****
Using the charmap:
! sed 's|^<U\(....\)> *.x\(..\)/x\(..\).*|0x\2\3 \1|p;d' BIG5HKSCS |
perl big5.pl
where big5.pl is:
--- 35,41 ----
Using the charmap:
! sed 's|^<U\(....\)> *.x\(..\)/x\(..\).*|0x\2\3 \1|p;d' BIG5-HKSCS |
perl big5.pl
where big5.pl is:
***************
*** 4600,4606 ****
/* The mapping from Unicode to Big5 is not easy since we have several
separate blocks.
! sort BIG5HKSCS | sed 's|^<U\(....\)> ./x\(..\)/x\(..\).*|\1 \2\3|p;d' |
perl big5.pl
where big5.pl is:
--- 4600,4606 ----
/* The mapping from Unicode to Big5 is not easy since we have several
separate blocks.
! sort BIG5-HKSCS | sed 's|^<U\(....\)> ./x\(..\)/x\(..\).*|\1 \2\3|p;d' |
perl big5.pl
where big5.pl is:
More information about the Libc-alpha
mailing list