#42290 [Asn->Fbk]: mb_eregi_replace() is not case-insensitive with multibyte pattern
| From: | hirokawa@php.net | Date: | Tue, 04 Sep 2007 14:33:23 +0000 |
| Subject: | #42290 [Asn->Fbk]: mb_eregi_replace() is not case-insensitive with multibyte pattern | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117109@lists.php.net to get a copy of this message | ||
ID: 42290
Updated by: hirokawa@php.net
Reported By: arysin at gmail dot com
-Status: Assigned
+Status: Feedback
Bug Type: mbstring related
Operating System: *
PHP Version: 5.2CVS-2007-08-14
Assigned To: hirokawa
Previous Comments:
------------------------------------------------------------------------
[2007-08-21 15:46:44] hirokawa@php.net
arysin,
What kind of encoding you are using ?
For UTF-8 and ISO-8859-1, 0x8a is assigned to Line Tab.
c.f.: http://en.wikipedia.org/wiki/ISO_8859-1
http://en.wikipedia.org/wiki/UTF-8
In my understanding, 0x8a shouldn't be interpreted as
upper letter of 0x9a for ISO-8859-1/UTF-8.
If you are using CP1252 (Windows-1252), it is understandable,
but, CP1252 is not supported yet in the Oniguruma library
(multibyte regex engine of mbstring).
http://en.wikipedia.org/wiki/Windows-1252
------------------------------------------------------------------------
[2007-08-19 20:05:04] jani@php.net
I'm using the bundled PCRE library. I don't remember what the version
is.
------------------------------------------------------------------------
[2007-08-19 02:27:06] hirokawa@php.net
I got the same result as arysin,
(PHP_5_2CVS 20070819, PCRE 7.2 2007-06-19)
iltas, Xiltas
iltas, Xiltas
I think PCRE is also not working.
Jani, which version of PHP/PCRE you are using ?
------------------------------------------------------------------------
[2007-08-17 13:46:13] jani@php.net
Assigned to the maintainer of mbstring extension.
------------------------------------------------------------------------
[2007-08-14 09:11:37] jani@php.net
I get this as output:
iltas, Xiltas
Xiltas, Xiltas
So I don't think there's anything wrong with PCRE, just mbstring stuff.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42290
--
Edit this bug report at http://bugs.php.net/?id=42290&edit=1