From: Ilia Alshanetsky Date: Mon, 24 Nov 2008 21:23:53 +0000 (+0000) Subject: MFB: Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) X-Git-Tag: BEFORE_HEAD_NS_CHANGES_MERGE~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f95b96e55ad8aa7075b80a2bbf584eb853efca35;p=php MFB: Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) --- diff --git a/ext/mbstring/php_unicode.c b/ext/mbstring/php_unicode.c index b53339a2b0..a84a5b724d 100644 --- a/ext/mbstring/php_unicode.c +++ b/ext/mbstring/php_unicode.c @@ -304,7 +304,7 @@ MBSTRING_API char *php_unicode_convert_case(int case_mode, const char *srcstr, s 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],