Details
Description
Zend_Json_Encoder does not support encoding of UTF8 characters.
Zend_Json_Encoder::encode('Отладочный')
yields
"Отладочный"
instead of the following which is generated with json_encode() which does support UTF8 characters
"\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439"
FYI: I am using this library for JSON encoding and it works great for UTF-8 characters.
http://pear.php.net/pepr/pepr-proposal-show.php?id=198
It is licensed under BSD.
Would it be possible to contact the authors to see if they can contribute the code to ZF or do you have other plans on how to incorporate UTF-8 encoding?
This is becoming an increasingly important issue for the FirePHP integration as well as international ZF userbase that uses AJAX.