更新到ubuntu 15.04后,Apache 2.4.x覆盖Charset

时间:2015-05-06 22:27:10

标签: apache ubuntu character-encoding apache2

通过添加'#'在AddDefaultCharset utf-8中停用

 conf-enabled/charset.conf

没有任何改变......

更新

      grep -i 'UTF-8' /etc/apache2/* -R

我们的问题在档案mods-enabled/autoindex.conf at line = 8

和...

  service apache2 restart

但是apache2仍然会覆盖charset

更新2

phpinfo() 给出有趣的提示 default_charset = UTF-8

1 个答案:

答案 0 :(得分:2)

<强>解决方案

default_charset = ""

中的

组 {{1}}

这很有效。

相关问题