PHP服务,乱码发狂ing...
发表于 : 2008-10-29 6:43
客户端浏览的时候只能用UTF-8才能浏览中文,我改了下面的配置文件
/etc/apache2/conf.d/charset
# Read the documentation before enabling AddDefaultCharset.
# In general, it is only a good idea if you know that all your files
# have this encoding. It will override any encoding given in the files
# in meta http-equiv or xml encoding tags.
AddDefaultCharset GB2312
ServerName 192.168.1.10:80
/etc/apache2下面的apache2.conf也加了句AddDefaultCharset GB2312
还是不管用,
httpd.conf里面又是空的,我不知道怎么弄了,高手帮帮忙,我是刚学建立网站,努力努力,我在线等答案
/etc/apache2/conf.d/charset
# Read the documentation before enabling AddDefaultCharset.
# In general, it is only a good idea if you know that all your files
# have this encoding. It will override any encoding given in the files
# in meta http-equiv or xml encoding tags.
AddDefaultCharset GB2312
ServerName 192.168.1.10:80
/etc/apache2下面的apache2.conf也加了句AddDefaultCharset GB2312
还是不管用,
httpd.conf里面又是空的,我不知道怎么弄了,高手帮帮忙,我是刚学建立网站,努力努力,我在线等答案