2020年7月9日

php json_encode 会把中文转成unicode编码

摘要: 解决方案1 利用 urlencode 和 urldecode 方法绕过这个转码为 unicode 的过程 header("Content-Type: text/html;charset=utf-8");$arr = array ('lang'=>urlencode('我是中文'));echo url 阅读全文

posted @ 2020-07-09 14:23 coding-farmer 阅读(235) 评论(0) 推荐(0) 编辑

导航