Message91748
| Author |
vstinner |
| Recipients |
r.david.murray, surprising42, vstinner |
| Date |
2009年08月19日.21:29:43 |
| SpamBayes Score |
0.00011679605 |
| Marked as misclassified |
No |
| Message-id |
<1250717385.12.0.568995154159.issue6734@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
IMAP4 protocol uses bytes, not characters. There is no "standard
charset", so you have to encode (manually) your login and password as
bytes. login method prototype:
IMAP4.login(login: bytes, password: bytes)
You server may use UTF-8, but another server may use ISO-8859-1 or any
other charset.
The documentation should explain why the Python library uses bytes and
not "simply" characters. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年08月19日 21:29:45 | vstinner | set | recipients:
+ vstinner, r.david.murray, surprising42 |
| 2009年08月19日 21:29:45 | vstinner | set | messageid: <1250717385.12.0.568995154159.issue6734@psf.upfronthosting.co.za> |
| 2009年08月19日 21:29:43 | vstinner | link | issue6734 messages |
| 2009年08月19日 21:29:43 | vstinner | create |
|