iconv – 轉換檔案編碼(編碼轉換)
iconv – 轉換檔案編碼(編碼轉換)
拷貝來源:http://note.drx.tw/2012/03/iconv.html
檔案編碼轉換
BIG5 To UTF-8
iconv -f big5 -t utf-8 big5.txt -o utf8.txt
UTF-8 To BIG5
iconv -f utf-8 -t big5 utf8.txt -o big5.txt
UTF-8 To GB2312
iconv -f utf-8 -t gb2312 utf8.txt -o gb2312.txt