Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用发送 Json 文本,$this_helper->json->sendJson('Ôtre'=>'Être' 但问题是无法识别的特殊字符。我怎样才能强制zend发送适当的Json。?
$this_helper->json->sendJson('Ôtre'=>'Être'
编码特殊字符时,某些 PHP 版本存在问题。您可以通过设置以下内容来解决问题:
Zend_Json::$useBuiltinEncoderDecoder = true;