Issues

ZF-6670: Zend_Json_Encoder::encodeUnicodeString is missing

Issue Type: Bug Created: 2009-05-15T03:11:34.000+0000 Last Updated: 2009-05-15T04:06:42.000+0000 Status: Resolved Fix version(s): Reporter: Edouard Cunibil (duael) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Json

Related issues: Attachments:

Description

The encodeUnicodeString static method of Zend_Json_Encoder is missing. It is called into the new method Zend_Json::_recursiveJsonExprFinder

Here is a fix :

<pre class="highlight">
public static function encodeUnicodeString($string) {
    $encoder = new self();
    return substr($encoder->_encodeString($string), 1, -1);
}

Comments

Posted by Benjamin Eberlei (beberlei) on 2009-05-15T04:06:38.000+0000

I think you might have include path problems. for me the method is there, and unittests run without problems.

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