#44000 [NEW]: encodings listed for mbstring do not work with all functions
| From: | josmessa at uk dot ibm dot com | Date: | Thu, 31 Jan 2008 16:41:06 +0000 |
| Subject: | #44000 [NEW]: encodings listed for mbstring do not work with all functions | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-487@lists.php.net to get a copy of this message | ||
From: josmessa at uk dot ibm dot com
Operating system: Irrelevant
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: encodings listed for mbstring do not work with all functions
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 bug report at http://bugs.php.net/?id=44000&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=44000&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44000&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44000&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44000&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44000&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=44000&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=44000&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=44000&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=44000&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=44000&r=support
Expected behavior: http://bugs.php.net/fix.php?id=44000&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=44000&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=44000&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44000&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=44000&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=44000&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=44000&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=44000&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=44000&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=44000&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=44000&r=mysqlcfg