1: enca -x UTF-8 filename 2: iconv -f gb2312 -t utf-8 file 也可以生成一个新文件, iconv -f gb2312 -t utf-8 file > filenew