运维网's Archiver
论坛
›
php
› php 乱码
wuliuwang
发表于 2017-3-3 09:27:56
php 乱码
php里面有中文乱码,ff 正常,ie不正常,都是用的utf-8编码。
解决方案:
在php页面加入
header(“Content-Type: text/html;charset=utf-8"),
若是静态页,加入:<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
页:
[1]
查看完整版本:
php 乱码