Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 /etc/apache2/conf-available/charset.conf 中删除了 # 之类的,
AddDefaultCharset UTF-8
然后,重新启动 apache $ service apache2 restart。 但是,当我输入 时$ curl -s -I http://localhost/greet.html,它显示 charset=iso-8859-1. 我应该做什么或检查?
$ service apache2 restart
$ curl -s -I http://localhost/greet.html
charset=iso-8859-1