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 details)
File details
Details for the file guess-1.0.5.tar.gz.
File metadata
- Download URL: guess-1.0.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7261fe8dce83324d5e88405ec9632313be4a0aaa7fc102066c8c297abb4c198
|
|
| MD5 |
ebf12a35a47a0fa9e866f35b685d08e4
|
|
| BLAKE2b-256 |
c8a4a1f74dc62e3c3ee42a6d12af41401e8453853a3eb3f6b69df1caa57186ed
|