1.在nginx.conf文件中的server标签里添加charset utf-8; 2.查看lua文件编码是否为utf-8 转载于:https://www.cnblogs.com/wangkang0320/p/9625978.html