This is the mail archive of the
mailing list for the glibc project.
Re: BZ #14991: Update BIG5-HKSCS charmap to HKSCS-2008
- From: Carlos O'Donell <carlos at systemhalted dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 10 Jan 2013 11:00:31 -0500
- Subject: Re: BZ #14991: Update BIG5-HKSCS charmap to HKSCS-2008
- References: <firstname.lastname@example.org> <email@example.com>
On 01/09/2013 05:41 AM, Andreas Schwab wrote:
> I was able to find the URL of the HKSCS standard, so I could update all
> the remaining characters, with no PUA assignments left. Note that there
> are now four characters that are mapped to combining character pairs in
> Unicode, so that the conversion is now stateful.
> [BZ #14991]
> * charmaps/BIG5-HKSCS: Update to HKSCS-2008.
> * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
> (from_ucs4_idx): Regenerate.
> (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
> (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
> (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
> (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
> (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
> (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
> (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
> (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
> from FROM_LOOP and TO_LOOP specific macros.
> (BODY): Handle combining characters.
> * iconvdata/BIG5HKSCS.irreversible: Update.
> * iconvdata/BIG5HKSCS.precomposed: New file.
> * iconvdata/testdata/BIG5HKSCS: Add all characters from range
> 0x8740 - 0x87DF.
> * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
I did some spot checks of the update and they look correct to me.
Thanks for the good work here, I'm sure this wasn't very fun :-)
Is it sufficient to add characters from range 0x8740 - 0x87DF
for test data? Does that cover all the changes?