ZF-3395: UTF-8 values encoded with json_encode() not decodable with Zend_Json_Decoder::decode()


When a string with the following characteristics : - In UTF-8 character encoding. - Containing characters that are different when encoded in latin1 (like "é"). Is encoded to JSON with PHP buildin function json_encode(), the result contains Unicode like "&#00e9".

When this is decoded with Zend_Json_Decoder::decode(), you get an exception :

{{Fatal error: Uncaught exception 'Zend_Json_Exception' with message 'Illegal escape sequence 'u'' in ...Zend\Json\Decoder.php:390}}


Moved from incubator to trunk in r14399, scheduled for 1.8 release