linux下出现乱码,加上编码转换就可以了。

$str = mb_convert_encoding($str, "html-entities", "utf-8");



posted on 2019-04-29 14:50  上善若水-随  阅读(635)  评论(0编辑  收藏  举报