首页 > 技术文章 > failed (1113: No mapping for the Unicode character exists in the target multi-byte code page), client: 127.0.0.1...

Steven-shi 2017-03-06 15:10 原文

nginx部署网站后,访问域名,网页显示  500 Internal Server Error ,经查看发现nginx的error.log中有报错:

failed (1113: No mapping for the Unicode character exists in the target multi-byte code page), client: 127.0.0.1...

但是其他部署的网站又没有问题,根据字眼Unicode character猜测是中文路径的问题,修改后再次访问,成功。

因此,部署网站的时候,物理路径最好不要出现中文字符。

推荐阅读