nginx启动报错(1113: No mapping for the Unicode character exists in the target multi-byte code page)

使用windows版本的nginx启动时遇到(1113: No mapping for the Unicode character exists in the target multi-byte code page)这个错误

把nginx的版本升高了,依旧报错

发现是因为解压的路径里面包含有中文的缘故,只要把解压后的文件剪切到没有包含中文的目录即可解决问题

如果需要nginx支持中文路径的话可以参考一下大佬的这篇文章:

NGINX支持中文目录索引(Win32)

原文地址:https://www.cnblogs.com/itachilee/p/13452519.html