Clone wiki

Python-libguess / Home

libguess enables finding out in what encoding some text is for given language. This library is especially useful for short text strings that themselves don't carry reliable encoding information, like ID3 tags in MP3 files. For example we can encode the same Japanese string in 3 different encodings (UTF-8, SHIFT-JIS, EUC-JP) and libguess will hopefully guess the encoding correctly just by looking at the first few bytes of the given string.

See more complete documentation at python-libguess page at Python Package Index.