Skip to content

Instantly share code, notes, and snippets.

@vizhen
Created February 21, 2014 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vizhen/9129475 to your computer and use it in GitHub Desktop.
Save vizhen/9129475 to your computer and use it in GitHub Desktop.
Linux GBK to UTF-8
把 1.txt 从 gbk 转成 utf-8 并保存为 2.txt
iconv -f gbk -t utf-8 1.txt > 2.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment