A Text Enconding Detector and Conveter in Python