Message228939
> 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? |
|
| Date |
User |
Action |
Args |
| 2014-10-10 01:32:31 | exarkun | set | recipients:
+ exarkun, loewis, jcea, jamesh, vstinner, Hiroaki.Kawai, astsmtl, BabakM, cfraire, dveeden |
| 2014-10-10 01:32:31 | exarkun | set | messageid: <[email protected]> |
| 2014-10-10 01:32:31 | exarkun | link | issue5305 messages |
| 2014-10-10 01:32:30 | exarkun | create | |
|