通过在
中添加'#'禁用AddDefaultCharset utf-8
conf-enabled/charset.conf
什么都没有改变...
更新:
grep -i 'UTF-8' /etc/apache2/* -R
我们的问题是在文件mods-enabled/autoindex.conf
中在行= 8
和...
service apache2 restart
但是Apache2仍然覆盖charset
更新2
phpinfo()
提供有趣的提示 default_charset = UTF-8
解决方案
在php.ini
设置 default_charset = ""
这有效。