Roy Hyunjin Han <starsareblueandfara...@gmail.com> added the comment:

The following code seems to solve the first case just as well.  It seems that 
it is a problem of missing whitespace.

email.header.decode_header('=?UTF-8?B?MjAxMSBBVVRNIENBTEwgZm9yIE5PTUlO?==?UTF-8?B?QVRJT05TIG9mIFZQIGZvciBNZW1iZXJz?==?UTF-8?B?aGlw?='.replace('?==?',
 '?= =?'))

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10574>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to