Chris Withers writes:
> When is it even a good idea to have more than one encoding in a single
> header?
I'd be happy to discuss that on email-sig, but it's really OT for
Python-Dev at this point.
___
Python-Dev mailing list
Python-Dev@python.org
htt
Stephen J. Turnbull wrote:
Robert Brewer writes:
> Syntactically, there's no sense in providing:
>
> Message.set_header('Subject', 'Some text', encoding='utf-16')
>
> ...since you could more clearly write the same as:
>
> Message.set_header('Subject', 'Some text'.encode('utf-16