处理php输出中文乱码题目
1、php页面输出乱码
要领一
设置php.ini字符集,修正【default_charset = "UTF-8"】
要领二
在php文件开首设置默许字符集
header("Content-Type: text/html;charset=utf-8");
2、html页面输出乱码
设置html页面字符集
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
以上就是php输出乱码的细致内容,更多请关注ki4网别的相干文章!