ZF-1602: Data not in UTF-8 is stripped by htmlentities()

Description

Zend_Debug::dump() bug:

if data in variable not in utf-8, its striped by htmlentities

bug:

Debug.php @ 93 line


htmlentities($output, ENT_QUOTES, 'UTF-8')

fix:


htmlspecialchars($output, ENT_QUOTES)

Why? 1) Data can be not only utf-8 encoding 2) if you are using ENT_QUOTES, you dont need htmlentities ;-)

Comments

[~andries] has volunteered to fix this for us.

Fixed in r5472