ID: 42023 Comment by: mattias at secweb dot se Reported By: anders dot jenbo at pc dot dk Status: Open Bug Type: Strings related Operating System: Linux PHP Version: 5.2.3, 4.4.7 New Comment:
ISO-8859-1 which php5 will use by default dosen't support those characters. See http://www.w3.org/TR/REC-html40/sgml/entities.html#h-24.2 echo(html_entity_decode('”“„∞’•™…–', 0, 'UTF-8')); .. will decode the entities. Previous Comments: ------------------------------------------------------------------------ [2007-07-18 10:16:26] [EMAIL PROTECTED] I verified it with 5.2.3 so it wasn't totally wrong. :) ------------------------------------------------------------------------ [2007-07-18 10:02:05] anders dot jenbo at pc dot dk wrong version ------------------------------------------------------------------------ [2007-07-18 06:27:46] anders dot jenbo at pc dot dk Description: ------------ html_entity_decode does not handle ” “ „ ∞ ’ • ™ … – Reproduce code: --------------- echo(html_entity_decode(' ”“„∞’•™…–')); Expected result: ---------------- ∞ Actual result: -------------- ”“„∞’•™…– ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42023&edit=1
