Skip to main content

cp1147 EBCDIC french (euro) codec

Project description

This package contains cp1147 EBCDIC french codec.

About cp1147

I have files coded IBM1147 (EBCDIC french + euro sign), I was forced to write my own codec cp1147, very close to the cp500 (Canada, Belgium), it diverges on the characters “@°{}§ùµ£à[€`¨#]~éè¦ç” :

import cp1147
print "euro sign ?",chr(159).decode('cp1147')
print ''.join([ chr(i).decode('cp1147') + " <=> " + chr(i).decode('cp500') + "\n" for i in range(0,256)
          if chr(i).decode('cp1147') != chr(i).decode('cp500')])

Changelog

1.0 - (2012-11-12) Initial release.

  • cp1147_search_function now return “codecs.CodecInfo” object

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Files for cp1147, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size cp1147-1.0-py2.7.egg (4.8 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size cp1147-1.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

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