The recode tool and library convert files between character sets and usages.
It recognizes or produces over 200 different character sets (or about 300 if
combined with an iconv library) and transliterates files between almost any
pair. When exact transliteration are not possible, it gets rid of the
offending characters or falls back on approximations.