Message228939
| Author |
exarkun |
| Recipients |
BabakM, Hiroaki.Kawai, astsmtl, cfraire, dveeden, exarkun, jamesh, jcea, loewis, vstinner |
| Date |
2014年10月10日.01:32:30 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1412904751.13.0.840807046739.issue5305@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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? |
|