# 列出当前可以处理的所有编码 iconv -l | grep -i "UTF" # 转换,这里大小写都可以 iconv -f UTF-16LE -t UTF-8 file > newfile iconv -f utf-16le -t utf-8 file > newfile