json_encode 中文不乱码

echo json_encode("中文", JSON_UNESCAPED_UNICODE);
 
//"中文"

 

posted on 2019-01-21 18:10  running-fly  阅读(229)  评论(0编辑  收藏  举报

导航