this is obsolete doc -- see http://doc.nethence.com/ instead

File format encoding 

 

 

UTF8 to ISO-8859-1 

Convert file format UTF-8 to ISO-8859-1, 

yum install recode
cp filename filename.dist
recode -l
recode UTF-8..ISO-8859-1 filename

Note. there's also iconv, 

#iconv --list
#iconv -f UTF-8 -t ISO-8859-1 filename1 > filename2

Note. there's also perl, 

#perl -MEncode -lne 'print encode("ISO-8859-1", decode("utf8", $_))' filename1 > filename2

 

Convert UTF-8 chararacters which are printed on a ISO-8859-1 terminal to ISO-8859-1 characters (sed command), 

s/é/é/g; 

s/ê/ê/g; 

s/è/è/g; 

s/ë/ë/g; 

s/ù/ù/g; 

s/ç/ç/g; 

s/Ão\/oo/E/g; 

s/î/î/g; 

s/ÃEUR/A/g; 

s/ô/ô/g; 

s/û/û/g; 

s/ï/ï/g; 

s/Ã| /à/g; 

s/â/â/g; 

s/Ã`/A/g; 

s/Ã /à/g; 

s/Ã"/O/g; 

Note. to find other substitutions, search into the file for 'Ã' occurences 

 

 

References 

UTF-8 at grml : http://wiki.grml.org/doku.php?id=utf8 

ImageMagick convert : http://www.imagemagick.org/ 

RTF2HTML convertor : http://rtf2html.sourceforge.net/ 

Excel to HTML converter : http://chicago.sourceforge.net/xlhtml/