Universal character encoding detector
Chardet is a character encoding detector for Python. It supports a wide range of encodings, including ASCII, UTF variants, various East Asian encodings (EUC, ISO-2022, Shift_JIS), and many others. Chardet uses statistical models and heuristics to guess the most likely encoding.