#42023 [Opn]: html_entity_decode skips some chars
| From: | jani@php.net | Date: | Wed, 18 Jul 2007 10:16:27 +0000 |
| Subject: | #42023 [Opn]: html_entity_decode skips some chars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115169@lists.php.net to get a copy of this message | ||
ID: 42023
Updated by: jani@php.net
Reported By: anders dot jenbo at pc dot dk
Status: Open
Bug Type: Strings related
Operating System: Linux
-PHP Version: 4.3
+PHP Version: 5.2.3, 4.3
New Comment:
I verified it with 5.2.3 so it wasn't totally wrong. :)
Previous Comments:
------------------------------------------------------------------------
[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