ZF-1735: Zend_Json::decode() returns null when json string contains char "»" (ascii 187)
Description
Following piece of code returns null, not an array as it should.
$data = '{"d":"Blog » Preview"}';
var_dump(Zend_Json::decode($data));
Without char "»" (ascii 187) method works as expected.
Comments
Posted by Goran Hacek (ghacek) on 2007-07-18T04:55:50.000+0000
This is not an issue of Zend_Json component, but of JSON pecl extension.
Following piece of code works as expected.
Posted by Wil Sinclair (wil) on 2008-12-19T11:19:20.000+0000
Bookkeeping. Assigning all closed issues to the person who ultimately fixed them.