add CharDet to detect