How do I decode unicode characters in the subject using email.message_from_string()?

Steve Holden steve at holdenweb.com
Wed Feb 25 12:51:34 EST 2009


rdmurray at bitdance.com wrote:
[...]
> 
>    The process of moving from this folded multiple-line representation
>    of a header field to its single line representation is called
>    "unfolding". Unfolding is accomplished by simply removing any CRLF
>    that is immediately followed by WSP.  Each header field should be
>    treated in its unfolded form for further syntactic and semantic
>    evaluation.
> 
> So, the whitespace characters are supposed to be left unchanged
> after unfolding.
> 
That would certainly appear to be the case. Thanks.

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list