php用json_encode中文问题

echo json_encode($arr,JSON_UNESCAPED_UNICODE);

 用这个中文就不会被转码了

posted @ 2017-06-01 10:10  安筱雨  阅读(137)  评论(0编辑  收藏  举报