]> 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)
commit42dae97fd49f8d5f5d45c6254794f41fc2b32c88
treedc4d7d03ee9f2650f8279d29efe38a2223bffd86
parentf1d905a417a3fff93df6b882eabca34c7023f980
- 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.
ext/mbstring/tests/bug52981.phpt [new file with mode: 0644]
ext/mbstring/ucgendat.c [new file with mode: 0644]
ext/mbstring/unicode_data.h