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 hashes)