#49414 [NEW]: mb_detect_encoding(): Include notice that $encoding_list is (almost) mandatory

From: Date: Sun, 30 Aug 2009 10:37:10 +0000
Subject: #49414 [NEW]: mb_detect_encoding(): Include notice that $encoding_list is (almost) mandatory
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2690@lists.php.net to get a copy of this message
From: thomas at landauer dot at Operating system: All PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: mb_detect_encoding(): Include notice that $encoding_list is (almost) mandatory Description: ------------ Include a notice that if no $encoding_list parameter is given, the function defaults to ASCII vs. UTF-8 detection only! Reason: This behavior makes the default-state of the function quite useless - in my view. I guess, most people use it for ISO-8859-1 vs. UTF-8 detection. And I would have expected that the detection defaults to today's most common used charsets on the web! -- Edit bug report at http://bugs.php.net/?id=49414&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49414&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49414&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49414&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49414&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49414&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49414&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49414&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49414&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49414&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49414&r=support Expected behavior: http://bugs.php.net/fix.php?id=49414&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49414&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49414&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49414&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49414&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49414&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49414&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49414&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49414&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49414&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49414&r=mysqlcfg

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