Cette page appartient aux archives web de l'EPFL et n'est plus tenue à jour.
This page belongs to EPFL's web archive and is no longer updated.

Changing the encoding of a text file in linux

Recently I have been working with different language keywords file. I was continuously running into errors dealing with the encoding problems.

Here are few links to deal with them:


 

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 --from-code=ISO-8859-1 --to-code=UTF-8 iso.txt > utf.txt


Unicode Demystified:

http://www.amk.ca/python/howto/unicode

Posted by Surender Reddy Yerva on Wednesday 14 April 2010 at 13:59