#49414 [Opn->Bgs]: mb_detect_encoding(): Include notice that $encoding_list is (almost) mandatory

From: Date: Fri, 13 Nov 2009 22:32:02 +0000
Subject: #49414 [Opn->Bgs]: mb_detect_encoding(): Include notice that $encoding_list is (almost) mandatory
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3149@lists.php.net to get a copy of this message
ID: 49414 Updated by: vrana@php.net Reported By: thomas at landauer dot at -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: * PHP Version: Irrelevant New Comment: Default value already documented as mb_detect_order(). Previous Comments: ------------------------------------------------------------------------ [2009-08-30 19:31:41] jani@php.net There is no such OS called "All". ------------------------------------------------------------------------ [2009-08-30 10:37:10] thomas at landauer dot at 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 this bug report at http://bugs.php.net/?id=49414&edit=1

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