Extremely Naive Charset Analyser
Enca (Extremely Naive Charset Analyser) is a simple utility guessing
encoding of text files and optionally converting them to some other
encoding using either a built-in convertor, a system conversion library
or an external conversion program.
Currently, it has support for Belarussian, Czech, Polish, Russian, Slovak,
Ukrainian, Bulgarian, Croatian, Estonian, Hungarian, Latvian, Lithuanian,
Slovene and some multibyte encodings (mostly variants of Unicode) independent
Install Enca if you need to cope with text files of dubious origin
and unknown encoding and convert them to some reasonable encoding.