Q:echo 输出中文乱码 A:在入口文件中加入:header("Content-Type:text/html;charset=utf-8"); 转载于:https://www.cnblogs.com/RainLi/p/5752713.html