步驟:
1、安裝convmv
yum -y install convmv
2.用“unzip xxx.zip”解壓你的zip文件,然後,把有亂碼的文件和文件夾移動到另外一個文件夾
3.在這個文件夾內,終端下鍵入命令
convmv -r -f utf8 -t iso88591 * --notest --nosmart && convmv -r -f gbk -t utf8 * --notest --nosmart
步驟:
1、安裝convmv
yum -y install convmv
2.用“unzip xxx.zip”解壓你的zip文件,然後,把有亂碼的文件和文件夾移動到另外一個文件夾
3.在這個文件夾內,終端下鍵入命令
convmv -r -f utf8 -t iso88591 * --notest --nosmart && convmv -r -f gbk -t utf8 * --notest --nosmart