Bug #71298 [Opn->Csd]: MB_CASE_TITLE misbehaves with curled apostrophe/quote (HTML ’)

From: Date: Fri, 28 Jul 2017 12:59:26 +0000
Subject: Bug #71298 [Opn->Csd]: MB_CASE_TITLE misbehaves with curled apostrophe/quote (HTML ’)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210401@lists.php.net to get a copy of this message
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)

« previous php.bugs (#210401) next »