Ralf Schlatterbeck <r...@runtux.com> added the comment:

I've been bitten by this too (in python up to 2.7 in roundup the bug-tracker). 
We're currently using a workaround that re-inserts spaces, see git on 
roundup.sourceforge.net file mailgw.py method _decode_header_to_utf8

RFC2047 even has a test-case at the end, it specifies:

encoded form                                displayed as
(=?ISO-8859-1?Q?a?= b)                      (a b)

note the space between 'a' and 'b' above. Spaces between non-encoded and 
encoded parts should be preserved. And it's probably a good idea to put the 
examples from the RFC into the regression test.

----------
nosy: +runtux

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

Reply via email to