Jean-Paul Calderone added the comment:
> the twisted imap API is problematic for imaplib because twisted seems to
> expect its arguments to already be Python unicode.
Could you elaborate on this? As far as I can tell, it works fine:
>>> import twisted.mail.imap4
>>> print u"Hello, \N{SNOWMAN}".encode('imap4-utf-7')
Hello, &JgM-
>>> print b'Hello, &JgM-'.decode('imap4-utf-7')
Hello, ☃
>>>
What would you expect to work differently?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5305>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com