Howto Convert Text File From UTF-8 to ISO-8859-1 Encoding

Convert a iso-8859-1 charset file into a utf-8 charset file using standard Linux tools.

The solution - using bash shell and using Linux - of course:

iconv --to-code=ISO-8859-1 --from-code=UTF-8 utf.txt > iso.txt

And reverse

iconv --from-code=ISO-8859-1 --to-code=UTF-8 iso.txt > utf.txt

Comments

blog comments powered by Disqus
Fork me on GitHub