#42023 [Opn]: html_entity_decode skips some chars

From: Date: Wed, 18 Jul 2007 10:02:06 +0000
Subject: #42023 [Opn]: html_entity_decode skips some chars
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-115167@lists.php.net to get a copy of this message
 ID:               42023
 User updated by:  anders dot jenbo at pc dot dk
 Reported By:      anders dot jenbo at pc dot dk
 Status:           Open
 Bug Type:         Strings related
 Operating System: Linux
-PHP Version:      5.2.3
+PHP Version:      4.3
 New Comment:

wrong version


Previous Comments:
------------------------------------------------------------------------

[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


Thread (6 messages)

« previous php.bugs (#115167) next »