wget curl命令下载文件中文乱码解决方法

  • A+
所属分类:Linux

curl示例

curl http://www.example.com/123.txt|iconv -f gb2312

wget示例

wget --restrict-file-names=nocontrol http://www.example.com/123.txt

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: