Chinese garbled problem in PHP page,
首先纯html页要用meta标签声明编码<br /><meta http-equiv="Content-Type" content="text/html; charset="utf-8" /><br />有php输出的页要使用header函数声明编码<br />header("Content-Type:text/html; charset=gb2312"); <br />同时文件也要另存为utf-8格式~~GBK同理
Copy after login
http://www.bkjia.com/PHPjc/1104061.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1104061.htmlTechArticlePHP page Chinese garbled problem, first of all, the pure HTML page must use the meta tag to declare the encoding meta http-equiv="Content- Type" content="text/html; charset="utf-8" / Pages with PHP output must use the header function...