#44000 [Fbk->Opn]: encodings listed for mbstring do not work with all functions

From: Date: Mon, 18 Feb 2008 13:16:16 +0000
Subject: #44000 [Fbk->Opn]: 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-524@lists.php.net to get a copy of this message
ID: 44000 Updated by: jmessa@php.net Reported By: josmessa at uk dot ibm dot com -Status: Feedback +Status: Open Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant Assigned To: hirokawa New Comment: Changed status to open to let one of the documentation team make the change. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#524) next »