当前位置: 代码迷 >> 综合 >> PHP echo utf-8 中文 乱码问题的解决
  详细解决方案

PHP echo utf-8 中文 乱码问题的解决

热度:0   发布时间:2024-01-21 15:48:42.0

首先设置 php代码为文件为 utf-8

然后

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


在浏览器运行就可以了