New submission from Thomas Guettler <guet...@thomas-guettler.de>: from email.header import decode_header decode_header('=?iso-8859-1?B?QW5tZWxkdW5nIE5ldHphbnNjaGx1c3MgU_xkcmluZzNwLmpwZw==?=')
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.6/email/header.py", line 101, in decode_header raise HeaderParseError email.errors.HeaderParseError thunderbird is able to decode the header: "Anmeldung Netzanschluss Südring3p.jpg" According to Peter Otten base64url encoding was used: My question in the newsgroup: http://groups.google.com/group/comp.lang.python/browse_thread/thread/9cf9ccd4109481cc/9f76bd627676b5f1?show_docid=9f76bd627676b5f1 ---------- components: Library (Lib) messages: 139776 nosy: guettli priority: normal severity: normal status: open title: email.errors.HeaderParseError if base64url is used versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12489> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com