#46626 [Ver->Csd]: mb_convert_case does not handle apostrophe correctly

From: Date: Mon, 24 Nov 2008 21:24:00 +0000
Subject: #46626 [Ver->Csd]: mb_convert_case does not handle apostrophe correctly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131273@lists.php.net to get a copy of this message
ID: 46626 Updated by: iliaa@php.net Reported By: tbartels at gmail dot com -Status: Verified +Status: Closed Bug Type: mbstring related Operating System: * PHP Version: 5CVS-2008-11-21 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-11-20 01:38:12] tbartels at gmail dot com Description: ------------ The first letter after an apostrophe of a possessive or conjugated word converted using MB_CASE_TITLE in mb_convert_case() get's capitalized incorrectly. Reproduce code: --------------- <?php echo mb_convert_case("I'll never believe you couldn't see it!", MB_CASE_TITLE); ?> Expected result: ---------------- I'll Never Believe You Couldn't See It! Actual result: -------------- I'Ll Never Believe You Couldn'T See It! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46626&edit=1

« previous php.bugs (#131273) next »