Skip to main content

Character encoding auto-detection in Python 3

Project description

Detects

  • ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)

  • Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese)

  • EUC-JP, SHIFT_JIS, ISO-2022-JP (Japanese)

  • EUC-KR, ISO-2022-KR (Korean)

  • KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)

  • ISO-8859-2, windows-1250 (Hungarian)

  • ISO-8859-5, windows-1251 (Bulgarian)

  • windows-1252 (English)

  • ISO-8859-7, windows-1253 (Greek)

  • ISO-8859-8, windows-1255 (Visual and Logical Hebrew)

  • TIS-620 (Thai)

Requires Python 3 or later

Commandline interface

chardet2 <filename>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chardet2-2.0.3.tar.gz (153.7 kB view details)

Uploaded Source

File details

Details for the file chardet2-2.0.3.tar.gz.

File metadata

  • Download URL: chardet2-2.0.3.tar.gz
  • Upload date:
  • Size: 153.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for chardet2-2.0.3.tar.gz
Algorithm Hash digest
SHA256 ed3bf9c76f8852acae3191b6747f370ce7630b6638518f4ef8c51065b1f957df
MD5 59d5afa66f5edcc6f092e22c305c5232
BLAKE2b-256 2dad60b773b31238c3e6352ca25d473a4a0daff08850ea2bc052b19220146af3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page