Message91748
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. |
|
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 | |
|