#44000 [Opn->Csd]: encodings listed for mbstring do not work with all functions
| From: | vrana@php.net | Date: | Fri, 07 Nov 2008 13:44:43 +0000 |
| Subject: | #44000 [Opn->Csd]: encodings listed for mbstring do not work with all functions | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1444@lists.php.net to get a copy of this message | ||
ID: 44000
Updated by: vrana@php.net
Reported By: josmessa at uk dot ibm dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
mb_strpos() is fine, the parameters are just not valid in some
encodings.
I've denoted encodings usable also in regexp.
Previous Comments:
------------------------------------------------------------------------
[2008-02-18 13:16:16] jmessa@php.net
Changed status to open to let one of the documentation team make the
change.
------------------------------------------------------------------------
[2008-02-16 09:04:11] hirokawa@php.net
A part of character encoding set supported by mbregex functions
is different from mbstring functions.
It is a documentation problem.
It should by like
"Any of those Character encodings can be specified in the
encoding parameter of mbstring functions
except for mbregex related functions".
Please fix the documentation problem.
------------------------------------------------------------------------
[2008-01-31 17:07:39] nicholsr@php.net
I assigned to to the extension maintainer rather than as a
documentation problem just to get clarification that this should be
handled as a doc problem. if its simply a case to update the docs then
assign back to me and I will do it. Thanks.
------------------------------------------------------------------------
[2008-01-31 17:02:56] nicholsr@php.net
assign to extension maintainer
------------------------------------------------------------------------
[2008-01-31 16:41:06] josmessa at uk dot ibm dot com
Description:
------------
The following statement is from the Multbyte string functions page on
php.net "Any of those Character encodings can be specified in the
encoding parameter of mbstring functions". This is not true,
mb_regex_encoding and mb_strpos and probably more cannot recognise some
of the encodings listed.
Reproduce code:
---------------
http://pastebin.com/f3f4f4e6f
Actual result:
--------------
http://pastebin.com/f7109be0d
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44000&edit=1