]> granicus.if.org Git - php/commit
- Fixed bug #52981 (Unicode casing table was out-of-date).
authorGustavo André dos Santos Lopes <cataphract@php.net>
Tue, 5 Oct 2010 01:54:17 +0000 (01:54 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Tue, 5 Oct 2010 01:54:17 +0000 (01:54 +0000)
commit7e61cffb0d627fde8243257c3a0ef8ee27f78520
tree816c33802281a9784c8909e44b563216531c64bb
parent54624f9902bf6b78a994b1ea38f0e7be8ddf68bd
- Fixed bug #52981 (Unicode casing table was out-of-date).
  Updated with UnicodeData-6.0.0d7.txt and included the
  source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.
NEWS
ext/mbstring/tests/bug52981.phpt [new file with mode: 0644]
ext/mbstring/ucgendat.c [new file with mode: 0644]
ext/mbstring/unicode_data.h