Handle case where charlock_holmes does not return an encoding