GNOME Bugzilla – Bug 621882
Update to Unicode 5.2.0
Last modified: 2010-11-02 07:01:23 UTC
+++ This bug was initially created as a clone of Bug #491554 +++ Update to Unicode 5.2 (released in Oct 2009), http://www.unicode.org/versions/Unicode5.2.0/ http://unicode.org/Public/5.2.0/
*** Bug 621367 has been marked as a duplicate of this bug. ***
I have added the new scripts. Let me know what else needs to be done.
Created attachment 164456 [details] [review] update gscripttable.h
Created attachment 164457 [details] [review] update gunichartables.h
Created attachment 164458 [details] [review] update gunicomp.h
Created attachment 164459 [details] [review] update gunidecomp.h
Here are the changes produced by gen-script-table.pl and gen-unicode-tables.pl. gen-mirroring-tab produced no changes at all. Unfortunately, gen-unicode-tables spit out a ton of overflow warnings, so I think the script needs some love: Character in 'H' format wrapped in unpack at ./gen-unicode-tables.pl line 740. [...] time to switch compose_first_single to gunichar at ./gen-unicode-tables.pl line 1207.
(In reply to comment #7) > Here are the changes produced by gen-script-table.pl and gen-unicode-tables.pl. > gen-mirroring-tab produced no changes at all. Unfortunately, gen-unicode-tables > spit out a ton of overflow warnings, so I think the script needs some love: > > > Character in 'H' format wrapped in unpack at ./gen-unicode-tables.pl line 740. > [...] > > time to switch compose_first_single to gunichar at ./gen-unicode-tables.pl line > 1207. When you run the same scripts for the Unicode 5.1.0 data files, you get those "Character in 'H' format wrapped in unpack at ./gen-unicode-tables.pl line xyz." warnings as well. With the Unicode 5.2.0 data files, you get the following additional warnings, Use of uninitialized value $values[41] in string ne at ./gen-unicode-tables.pl line 704. Use of uninitialized value $values[93] in string ne at ./gen-unicode-tables.pl line 704. Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 722. Use of uninitialized value $text in print at ./gen-unicode-tables.pl line 727. Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 728. Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 722. Use of uninitialized value $text in print at ./gen-unicode-tables.pl line 727. Use of uninitialized value $text in length at ./gen-unicode-tables.pl line 728. This second batch of warnings needs to be investigated as to what effect they may have to the generated glib data files.
Anyone can look into the Perl script?
Marking obsolete in favor of bug 633624.