发现是apache 配置文件的编码问题 # vim /usr/local/apache2/conf/httpd.conf AddDefaultCharset utf-8 最后添加 转载于:https://blog.51cto.com/bbaobelief/785813