1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

MFB: Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly)

This commit is contained in:
Ilia Alshanetsky
2008-11-24 21:23:45 +00:00
parent 90f9f11fbe
commit 0d56cd2dfc
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -6,6 +6,8 @@ PHP NEWS
- Fixed memory leak inside readline_callback_handler_remove() function. (Felipe)
- Fixed bug #46649 (Setting array element with that same array produces
inconsistent results). (Arnaud)
- Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly).
(Ilia)
20 Nov 2008, PHP 5.2.7RC4
- Added logging option for error_log to send directly to SAPI. (Stas)
+1 -1
View File
@@ -308,7 +308,7 @@ MBSTRING_API char *php_unicode_convert_case(int case_mode, char *srcstr, size_t
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],