Best way to convert text files between character sets?

后端 未结 21 2315
再見小時候
再見小時候 2020-11-22 04:42

What is the fastest, easiest tool or method to convert text files between character sets?

Specifically, I need to convert from UTF-8 to ISO-8859-15 and vice versa.

21条回答
  •  独厮守ぢ
    2020-11-22 05:21

    iconv(1)

    iconv -f FROM-ENCODING -t TO-ENCODING file.txt
    

    Also there are iconv-based tools in many languages.

提交回复
热议问题