wget和特殊字符

Bre*_*ett 10 wget character-encoding

我在本地使用wget来获取小型Web应用程序的静态快照.当我这样做时,生成的html文件会返回奇怪的字符而不是引号和撇号.

我该怎么做才能避免这种行为?

谢谢.

Don*_*ing 10

我建议尝试:

--restrict-file-names=nocontrol
Run Code Online (Sandbox Code Playgroud)

资料来源:http://www.win.tue.nl/~aeb/linux/misc/wget.html


Tho*_*hor 6

听起来像是你需要指定--remote-encoding也许--remote-encoding=utf-8.