查看文件的字符集:
/usr/bin/file -i filename
转换文件的字符集:
/usr/bin/iconv --output newfilename -t gbk filename
注意:系统的字符集需要同需要转换的文件的字符集一致
查看文件的大小:
du -h filename