#49406 [Opn]: utf8_decode(): Include "caution" note that it destroys 99.9% of all characters

From: Date: Sun, 30 Aug 2009 19:33:03 +0000
Subject: #49406 [Opn]: utf8_decode(): Include "caution" note that it destroys 99.9% of all characters
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2695@lists.php.net to get a copy of this message
ID: 49406 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-29 15:22:31] thomas at landauer dot at Description: ------------ From the 1,114,112 (possible) Unicode-characters, only 256 are converted correctly. The remaining 99.9 percent are destroyed (i.e. "converted" into a question mark), since they don't exist in ISO 8859-1. My suggestion: Explicitly state this fact in a red "caution" box in the funciton's documentation. This would also prevent "bugs" like this one here from being reported: See http://bugs.php.net/bug.php?id=36138&edit=2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49406&edit=1

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