The Universal Character Encoding Detector
chardet.detect("str")
返回:{‘confidence’:1.0,'encoding':'ascii'}