Python module to register all supported iconv codecs
Project description
iconv_codec: module to register codecs to encode/decode any char supported by system’s iconv command.
The codecs are registered in python and are available on all python functions that support an encoding parameter.
- Usage:
After importing the module, just use the encoding with the ‘iconv:’ prefix. Examples:
>>> import iconv_codecs >>> '\xa3\x85\xa2\xa3'.decode('iconv:CP284') u'test' >>> u'testing'.encode('iconv:CSEBCDICFISEA') '\xa3\x85\xa2\xa3\x89\x95\x87'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iconv_codecs-0.1a1.tar.gz
(2.8 kB
view details)
File details
Details for the file iconv_codecs-0.1a1.tar.gz.
File metadata
- Download URL: iconv_codecs-0.1a1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aaed2c33a2297d15c7d02f6c8def984178b5320b9ab4abf06a4bee908fa3b13
|
|
| MD5 |
696d3d153176ce704b6730332c1cbdd9
|
|
| BLAKE2b-256 |
d2aeca796e65610939dcb3b7c291c2fda79397c468e143292396c61c84677c05
|