php输出utf-8格式

header("Content-type:text/html;charset=utf-8");

输出数据前插入以上代码,以utf-8格式输出,避免乱码

alex kong
原文地址:https://www.cnblogs.com/klj123wan/p/3216503.html