cvs: php-src(PHP_5_3) /ext/mbstring php_unicode.c
| From: | Ilia Alshanetsky | Date: | Mon, 24 Nov 2008 21:23:03 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/mbstring php_unicode.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-54454@lists.php.net to get a copy of this message | ||
iliaa Mon Nov 24 21:23:03 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mbstring php_unicode.c
Log:
Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly)
http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/php_unicode.c?r1=1.11.2.2.2.2.2.3&r2=1.11.2.2.2.2.2.4&diff_format=u
Index: php-src/ext/mbstring/php_unicode.c
diff -u php-src/ext/mbstring/php_unicode.c:1.11.2.2.2.2.2.3
php-src/ext/mbstring/php_unicode.c:1.11.2.2.2.2.2.4
--- php-src/ext/mbstring/php_unicode.c:1.11.2.2.2.2.2.3 Thu Jul 24 13:46:49 2008
+++ php-src/ext/mbstring/php_unicode.c Mon Nov 24 21:23:03 2008
@@ -308,7 +308,7 @@
for (i = 0; i < unicode_len; i+=4) {
int res = php_unicode_is_prop(
BE_ARY_TO_UINT32(&unicode_ptr[i]),
- UC_MN|UC_ME|UC_CF|UC_LM|UC_SK|UC_LU|UC_LL|UC_LT, 0);
+ UC_MN|UC_ME|UC_CF|UC_LM|UC_SK|UC_LU|UC_LL|UC_LT|UC_PO|UC_OS, 0);
if (mode) {
if (res) {
UINT32_TO_BE_ARY(&unicode_ptr[i],