php的header来定义一个php页面为utf编码或GBK编码 

php页面为utf编码
header("Content-type: text/html; charset=utf-8");

php页面为gbk编码
header("Content-type: text/html; charset=gb2312");

php页面为big5编码
header("Content-type: text/html; charset=big5");

通常情况以上代码放在php页面的首页

相关文章:

  • 2021-11-17
  • 2022-02-07
  • 2021-10-31
  • 2022-12-23
  • 2021-11-23
  • 2022-01-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
相关资源
相似解决方案