摘要: <?php$a = array( 'a' => '你好', 'b' => 'bb');//header('Content-Type:application/json; charset=UTF-8');echo json_encode($a)."\n";function decodeUnicode($str){ return preg_replace_callback('/\\\\u([0-9a-f]{4})/i', create_function( '$ 阅读全文
posted @ 2011-05-28 13:19 sink_cup 阅读(2501) 评论(3) 推荐(0) 编辑
Creative Commons License

本站原创作品采用知识共享署名 3.0许可协议进行许可。