Skip to main content

unrfc2047: a decoder for RFC2047 (MIME Part 3) encoded text.

Project description

unrfc2047: a decoder for RFC2047 (MIME Part 3) encoded text.

Latest release 20200524: Handle unknown charsets (parochially and abitrarily) and other decode failures.

Function unrfc2047(s)

Accept a string s containing RFC2047 text encodings (or the whitespace littered varieties that come from some low quality mail clients) and decode them into flat Unicode.

See http://tools.ietf.org/html/rfc2047 for the specification.

Release Log

Release 20200524: Handle unknown charsets (parochially and abitrarily) and other decode failures.

Release 20171231: Change final .decode to use "replace". Fix a bunch of warning format strings.

Release 20170904: Initial PyPI release.

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

cs.rfc2047-20200524.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page