faust-cchardet, and called cChardet, is a universal character encoding detector. It supports a lot of languages and encodings.