email header decoding fails

ZeeGeek ZeeGeek at
Thu Apr 10 04:12:00 CEST 2008

It seems that the decode_header function in email.Header fails when
the string is in the following form,


That's when a non-encoded string follows the encoded string without
any whitespace. In this case, decode_header function treats the whole
string as non-encoded. Is there a work around for this problem?


More information about the Python-list mailing list