Skip to main content

Japanese charactor encoding detector

Project description

This module was ported from gauche charconv module. Supported encoding is UTF-8, Shift_JIS, EUC-JP, ISO-2022-JP

Example:

>>> import guess
>>> s = '\x82\xa0\x82\xa2\x82\xa4\x82\xa6\x82\xa8'
>>> guess.guess(s)
'Shift_JIS'
>>> print s.decode('Shift_JIS')
あいうえお

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

guess-1.0.5.tar.gz (4.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page