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

From: Date: Sun, 30 Aug 2009 19:31:42 +0000
Subject: #49414 [Opn]: 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-2691@lists.php.net to get a copy of this message
ID: 49414 Updated by: jani@php.net Reported By: thomas at landauer dot at Status: Open Bug Type: Documentation problem -Operating System: All +Operating System: * PHP Version: Irrelevant New Comment: There is no such OS called "All". Previous Comments: ------------------------------------------------------------------------ [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 (#2691) next »