charlock_holmes provides binary and text detection as well as text transcoding using libicu
conda install dnachun::rb-charlock_holmes