Issues

ZF-12482: CLONE - UTF8 character encoding for Zend_Json_Encoder

Issue Type: Improvement Created: 2012-12-05T08:20:18.000+0000 Last Updated: 2013-04-05T16:07:07.000+0000 Status: Closed Fix version(s): Reporter: lequocdat (datlq_53) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Json

Related issues: Attachments:

Description

Zend_Json_Encoder does not support encoding of UTF8 characters.

<pre class="highlight">
Zend_Json_Encoder::encode('Отладочный')

yields

<pre class="highlight">
"Отладочный"

instead of the following which is generated with json_encode() which does support UTF8 characters

<pre class="highlight">
"\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439"

Comments

Posted by Ralph Schindler (ralph) on 2013-04-05T16:07:07.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf1/issues/39

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts