在入口文件加header("Content-type:text/html;charset=utf-8");来避免乱码 转载于:https://www.cnblogs.com/xuetiedan/p/9958794.html