http://182.92.66.169/news/帮朋友迁移网站,php+mysql.结果网站乱码,这个问题困扰我好几天了,本身就不是搞网站的,怎么都搞不定
phpadmin查看的结果:
character set client utf8
character set connection utf8
character set database utf8
character set filesystem binary
character set results utf8
character set server utf8
character set system utf8
character sets dir /www/wdlinux/mysql-5.1.61/share/mysql/charsets/
collation connection utf8_general_ci
collation database utf8_general_ci
collation server utf8_general_ci
news目录下index.html的文件头
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">^M
<html xmlns="http://www.w3.org/1999/xhtml">^M
<head>^M
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />^M
可是现实还是乱码
请教老手,谢谢。
--
修改:yds001 FROM 114.242.206.*
FROM 114.242.206.*