Unicode 3.2 support (6)
Bruno Haible
bruno@clisp.org
Wed Apr 17 07:50:00 GMT 2002
Here is a patch to upgrade the BIG5-HKSCS charmap and iconv converter to
Unicode 3.2. Some characters were added to Unicode 3.1 and Unicode 3.2 for
better convertibility of EUC-TW (CNS11643), and in Unicode 3.2 furthermore the
mapping tables between HKSCS and Unicode (in the Unihan.txt file) were updated.
This patch uses these tables, extracted from Unihan.txt.
As a consequence of this update, the mapping has one more irreversible mapping
pair. The testdata/BIG5HKSCS is modified to remove this non-reversibly-mappable
character. And of course, testdata/BIG5HKSCS..UTF8 is regenerated with the new
mappings.
ChangeLog:
2002-04-15 Bruno Haible <bruno@clisp.org>
* iconvdata/big5hkscs.c (big5hkscs_to_ucs): Change element type to
uint32_t. Update to Unicode 3.2.
(from_ucs4, from_ucs4_idx): Update to Unicode 3.2.
(BODY for TO_LOOP): Handle the ASCII range specially.
* iconvdata/BIG5HKSCS.irreversible: Add one more entry.
* iconvdata/testdata/BIG5HKSCS: Remove a character.
* iconvdata/testdata/BIG5HKSCS..UTF-8: Regenerated.
localedata/ChangeLog:
2002-04-15 Bruno Haible <bruno@clisp.org>
* charmaps/BIG5-HKSCS: Update to Unicode 3.2.
[The patch is too large for this mailing list. You can download it from
ftp://ftp.ilog.fr/pub/Users/haible/gnu/glibc-unicode32-patch6.bz2 .]
More information about the Libc-alpha
mailing list