网友 deyu 说:
*帖最后由 deyu 于 2022-11-30 17:22 编辑
环境是bug **
nginx 1.22
php 5.4
******
{
listen 80;
******_name 域名
index index.php index.html index.htm def**lt.php def**lt.htm def**lt.html;
**ot /www/www**ot/域名地址
charset utf-8; ###这里也指定了编码还是不行
location ~ .*\.yml$ {
add_header Content-Type text/yml;
charset utf-8; ###这里也指定了编码还是不行
}
或者 给utf-8加上单引号也不行
charset ‘utf-8’;
都不行,文件格式是utf-8 无bom头的
爱主机