Convert files from iso-8859-1 to utf-8

      2 Comments on Convert files from iso-8859-1 to utf-8

How to convert iso-8859-1 charset files into utf-8? Simple:

iconv --from-code=ISO-8859-1 --to-code=UTF-8 oldfile > newfile

Of course, your values for --from-code and --to-code may vary. For a list of available encodings use iconv --list

2 thoughts on “Convert files from iso-8859-1 to utf-8

  1. Pingback: /dev/blog » Convert filenames from iso-8859-1 to utf-8

  2. Pingback: /dev/blog » Batch converting files from iso-8859-1 to utf-8

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.