lua返回页面时中文乱码

1.在nginx.conf文件中的server标签里添加charset utf-8;

2.查看lua文件编码是否为utf-8