Распознает следующие кодировки:
encodings
•UTF-8
•UTF-16 (BE and LE)
•UTF-32 (BE and LE)
•windows-1252 (mostly equivalent to iso8859-1)
•windows-1251 and ISO-8859-5 (cyrillic)
•windows-1253 and ISO-8859-7 (greek)
•windows-1255 (logical hebrew. Includes ISO-8859-8-I and most of x-mac-hebrew)
•ISO-8859-8 (visual hebrew)
•Big-5
•gb18030 (superset of gb2312)
•HZ-GB-2312
•Shift-JIS
•EUC-KR, EUC-JP, EUC-TW
•ISO-2022-JP, ISO-2022-KR, ISO-2022-CN
•KOI8-R
•x-mac-cyrillic
•IBM855 and IBM866
•X-ISO-10646-UCS-4-3412 and X-ISO-10646-UCS-4-2413 (unusual BOM)
•ASCII