我正在使用Windows 7机器上的wget (静态构建)下载一个带有unicode文件名的视频文件(法语)。
wget http://someserver.com/Th%C3%A8me.mov在文件下载之后,我可以将它作为ThΓ¨me.mov在我的文件夹中查看。然而,文件的真正正确名称是Thème.mov。我尝试过在restrictfilenames = nocontrol中设置wget.ini,但没有起到任何作用。我该怎么“修”呢?
提前谢谢。
发布于 2014-02-25 11:52:30
这是一个wget中已知的bug。--restrict-file-names=nocontrol的解决方案只在Unix上有所帮助。在Windows上,您能做的最好的就是使用--restrict-file-names=ascii,这将导致像Th%C3%A8me.mov这样的文件名。
https://stackoverflow.com/questions/22010251
复制相似问题