修改“/etc/php5/apache2/php.ini”将
default_charset = "iso-8859-1"
修改为
default_charset = "utf-8"
然后重启apache:
sudo service apache2 restart;修改“/etc/php5/apache2/php.ini”将
default_charset = "iso-8859-1"
修改为
default_charset = "utf-8"
然后重启apache:
sudo service apache2 restart;