iconv编码转换

iconv -f GB2312 -t UTF-8 gb1.txt >gb2.txt

将 gb1.txt 转 GB2312 到 UTF-8 输出为 gb2.txt