Bug #74047 [Csd->Nab]: No way to compare multibyte UTF-8 strings??
| From: | requinix@php.net | Date: | Sun, 05 Feb 2017 20:08:59 +0000 |
| Subject: | Bug #74047 [Csd->Nab]: No way to compare multibyte UTF-8 strings?? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-207193@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74047&edit=1
ID: 74047
Updated by: requinix@php.net
Reported by: teo8976 at gmail dot com
-Summary: ___
+Summary: No way to compare multibyte UTF-8 strings??
-Status: Closed
+Status: Not a bug
Type: Bug
Package: *Unicode Issues
PHP Version: 5.6.30
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-02-05 17:52:48] teo8976 at gmail dot com
seems intl does it.
------------------------------------------------------------------------
[2017-02-05 17:50:10] teo8976 at gmail dot com
Description:
------------
Just like there is a strcmp() function for comparing strings byte-by-byte, there should exist a
mb_strcmp() function to compare multibyte strings according to a given encoding, e.g.
'UTF-8'. Actually, it should be according to an encoding and collation.
And please don't call it a feature request. It's simply RIDICULOUS that, at the very
least, UTF-8 string comparison is not available in 20fucking17.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74047&edit=1