This is the JChardet encoding detector.