summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2008-11-24 21:23:03 +0000
committerIlia Alshanetsky <iliaa@php.net>2008-11-24 21:23:03 +0000
commit24e7e623077223ba8dbe144c200b8507d5913bd1 (patch)
treed4ba157fff2ff9629cb9a1036df962c0438f195c
parentc3f0c8dd3c8e5702b49fd44d768c7622a7e9ee9f (diff)
downloadphp-git-24e7e623077223ba8dbe144c200b8507d5913bd1.tar.gz
Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly)
-rw-r--r--ext/mbstring/php_unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/php_unicode.c b/ext/mbstring/php_unicode.c
index d07d278a1d..4bcce8d02e 100644
--- a/ext/mbstring/php_unicode.c
+++ b/ext/mbstring/php_unicode.c
@@ -308,7 +308,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],