Nethence Newdoc Olddoc Lab Your IP BBDock  


Warning: those guides are mostly obsolete, please have a look at the new documentation.

UnixWindowsOracleObsoleteHardwareDIYMechanicsScriptsConfigs

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/
 

(obsolete, see the new doc)