Bug #69267 [Com]: mb_strtolower fails on titlecase characters

From: Date: Sat, 01 Oct 2016 03:22:33 +0000
Subject: Bug #69267 [Com]: mb_strtolower fails on titlecase characters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204383@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69267&edit=1 ID: 69267 Comment by: z dot figura12 at gmail dot com Reported by: z dot figura12 at gmail dot com Summary: mb_strtolower fails on titlecase characters Status: Open Type: Bug Package: mbstring related Operating System: Kubuntu 14.10 PHP Version: 5.5Git-2015-03-20 (Git) Block user comment: N Private report: N New Comment: After looking, there are actually two parts to this bug. One part is in PHP, and I was easily able to locate the error. However, this only fixed the characters Dž, Nj, Lj, Dz, whereas Greek characters with hypogegrammene were still broken. The second part was traceable back to OpenLDAP. I have submitted a patch there and hope to see it accepted. I am not sure how to propagate this change to PHP, however. Previous Comments: ------------------------------------------------------------------------ [2015-03-20 02:48:38] z dot figura12 at gmail dot com Description: ------------ Ancient Greek characters with hypogegrammene (ᾼ ῼ ῌ etc.) are classified as titlecase characters in Unicode, and because they are not marked as being capital letters, are ignored by mb_strtolower. Test script: --------------- echo mb_strtolower("ᾼ"); Expected result: ---------------- ᾳ Actual result: -------------- ᾼ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69267&edit=1

« previous php.bugs (#204383) next »