Re: HeaderParseError

2011-07-05 Thread Thomas Guettler
On 04.07.2011 13:20, Peter Otten wrote: > Thomas Guettler wrote: > >> On 04.07.2011 11:51, Peter Otten wrote: >>> Thomas Guettler wrote: >>> >>>> I get a HeaderParseError during decode_header(), but Thunderbird can >>>> display the nam

Re: HeaderParseError

2011-07-04 Thread Peter Otten
Thomas Guettler wrote: > On 04.07.2011 11:51, Peter Otten wrote: >> Thomas Guettler wrote: >> >>> I get a HeaderParseError during decode_header(), but Thunderbird can >>> display the name. >>> >>>>>> from email.header i

Re: HeaderParseError

2011-07-04 Thread Thomas Guettler
On 04.07.2011 11:51, Peter Otten wrote: > Thomas Guettler wrote: > >> I get a HeaderParseError during decode_header(), but Thunderbird can >> display the name. >> >>>>> from email.header import decode_header >>>>> > decode_header('=?i

Re: HeaderParseError

2011-07-04 Thread Peter Otten
Thomas Guettler wrote: > I get a HeaderParseError during decode_header(), but Thunderbird can > display the name. > >>>> from email.header import decode_header >>>> decode_header('=?iso-8859-1?B?QW5tZWxkdW5nIE5ldHphbnNjaGx1c3MgU_xkcmluZzNwLmpwZw==?

HeaderParseError

2011-07-04 Thread Thomas Guettler
Hi, I get a HeaderParseError during decode_header(), but Thunderbird can display the name. >>> from email.header import decode_header >>> decode_header('=?iso-8859-1?B?QW5tZWxkdW5nIE5ldHphbnNjaGx1c3MgU_xkcmluZzNwLmpwZw==?=') Traceback (most recent call last): File