Bug #71298 [Opn->Csd]: MB_CASE_TITLE misbehaves with curled apostrophe/quote (HTML ’)
Edit report at https://bugs.php.net/bug.php?id=71298&edit=1
ID: 71298
Updated by: nikic@php.net
Reported by: yohgaki@php.net
Summary: MB_CASE_TITLE misbehaves with curled
apostrophe/quote (HTML ’)
-Status: Open
+Status: Closed
Type: Bug
Package: mbstring related
Operating System: any
PHP Version: 7.0Git-2016-01-07 (Git)
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
Fixed as part of bug #65544.
Previous Comments:
------------------------------------------------------------------------
[2017-07-28 12:58:37] nikic@php.net
Automatic comment on behalf of nikita.ppv@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=f4a1d9c8211fa7878af14d0bd94b2deaab19ae21
Log: Fixed bug #65544 and #71298
------------------------------------------------------------------------
[2017-07-28 12:09:38] nikic@php.net
Related To: Bug #65544
------------------------------------------------------------------------
[2016-01-07 02:51:28] yohgaki@php.net
Description:
------------
REF: https://bugs.php.net/bug.php?id=46607
This appears to be a duplicate of https://bugs.php.net/bug.php?id=36311
It was already fixed for straight apostrophe/quotes (HTML ') in https://bugs.php.net/bug.php?id=46626 but not for
the curled apostrophe/quote (HTML ’) when using PHP 7.1.0-dev from git.
Reproduce code:
---------------
<?php
echo mb_convert_case("People's issues versus peopleâs issues", MB_CASE_TITLE);
?>
Expected result:
----------------
People's Issues Versus Peopleâs Issues
Actual result:
--------------
People's Issues Versus PeopleâS Issues
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71298&edit=1
Thread (2 messages)