charlock_holmes provides binary and text detection as well as text transcoding using libicu
Brian Lopez, Vicent Martí
MIT