我希望将 Apache 环境 LANG 从 C 更改为en_GB.UTF-8
但找不到在哪里。里面/etc/apache2/apache2.conf
我添加了AddDefaultCharset UTF-8
, 基于此 https://stackoverflow.com/questions/913869/how-to-change-the-default-encoding-to-utf-8-for-apache,重新启动apache但LANG仍然设置为C。
Running locale -a
在终端,我看到en_GB.utf8
和别的。如何设置apache的默认值en_GB.UTF-8
?
set | grep -i utf
给我看LANG=en_GB.UTF-8
查看 /etc/apache2/envvars
## Uncomment the following line to use the system default locale instead:
#. /etc/default/local here
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)