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.

Source Distribution

cp1147-1.0.tar.gz (2.8 kB view hashes)

Uploaded source

Built Distribution

cp1147-1.0-py2.7.egg (4.8 kB view hashes)

Uploaded 2 7

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