我改了sudo vim /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 UTF-8
#AddDefaultCharset GB2312
改了2个GB2312和UTF-8都没有用,我还把AddDefaultCharset设置成了Off尝试用网页设置,但是没用!!!快崩溃了!!
那位大大能帮我!!
我配置lamp成功了,但是不能显示中文!
-
- 帖子: 95
- 注册时间: 2006-02-05 18:11
-
- 帖子: 18
- 注册时间: 2007-09-02 14:05
- kings
- 帖子: 64
- 注册时间: 2008-03-22 11:04
- 来自: GD-DG-DC
其实你可以选择多种方式。。你的目的应该是运行php吧。。。如果你要方便的话,你完全可以使用linux下的php套件xampp;
详细资料请查看
http://tuzuo.blogbus.com/logs/17796096.html
我目前就是用这个。不过奇怪的是我按照网上的方法去设置xampp随系统自动启动,都不可以。如果你们有谁知道话,请PM一下
详细资料请查看
http://tuzuo.blogbus.com/logs/17796096.html
我目前就是用这个。不过奇怪的是我按照网上的方法去设置xampp随系统自动启动,都不可以。如果你们有谁知道话,请PM一下
-
- 帖子: 95
- 注册时间: 2006-02-05 18:11
我改了sudo vim /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 UTF-8
#AddDefaultCharset GB2312
# 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 UTF-8
#AddDefaultCharset GB2312