Switched from TikaEncodingDetector to UniversalDetector (juniversalchardet).