> That sometimes you want the raw content as it was in the file? That if
> you have that choice (decoded or raw) the default should be False, as it
> does less?
Yeah, thinking back later, the round-trip possibility seemed plausible.
I'll stop overthinking this now...
> That we my _first_ instinct
On 24Dec2021 09:31, Skip Montanaro wrote:
>Cameron> Try decode=True.
>
>Skip> :dopeslap: Thanks. Never been all that consistent reading documentation.
>
>The more I think about it, the more I think maybe my lack of
>documentation reading wasn't all that unreasonable. The content
>transfer encoding
Cameron> Try decode=True.
Skip> :dopeslap: Thanks. Never been all that consistent reading documentation.
The more I think about it, the more I think maybe my lack of
documentation reading wasn't all that unreasonable. The content
transfer encoding and charset are properties of the message as a
wh
>
> From the docs:
>
> get_payload(i=None, decode=False)
...
Try decode=True.
:dopeslap: Thanks. Never been all that consistent reading documentation.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
On 23Dec2021 14:50, Skip Montanaro wrote:
>I have a bunch of old email archives I'm messing around with, for example,
>rendering them on-demand in HTML. Some of the files use quoted printable
>content transfer encoding. Here's one (with a number of headers elided):
[...]
>This message is stored in
I have a bunch of old email archives I'm messing around with, for example,
rendering them on-demand in HTML. Some of the files use quoted printable
content transfer encoding. Here's one (with a number of headers elided):
>From classicrendezvous-admin Mon Dec 4 15:29:22 2000
Message-ID: <027801bf