httpd乱码

查看http.conf的文件

# Specify a default charset for all content served; this enables
# interpretation of all content as UTF-8 by default.  To use the
# default browser choice (ISO-8859-1), or to allow the META tags
# in HTML content to override this choice, comment out this
# directive:
#
AddDefaultCharset UTF-8

把AddDefaultCharset UTF-8注释起来,可以解除乱码问题!

你可能感兴趣的:(html)