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
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
File details
Details for the file cs.rfc2047-20200524.tar.gz.
File metadata
- Download URL: cs.rfc2047-20200524.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb9000983cec6840e83d7bac404235a7a13c39be007d1916c2fc6b39fa426a2c
|
|
| MD5 |
feffbd8607279905270e72ba98b156b3
|
|
| BLAKE2b-256 |
7507c6bf2424bfad4aac8f06326a5acec4d94fedd4ce81a3c5b2b0493ccbd3e0
|