This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:45vstinnersetrecipients: + vstinner, r.david.murray, surprising42
2009-08-19 21:29:45vstinnersetmessageid: <1250717385.12.0.568995154159.issue6734@psf.upfronthosting.co.za>
2009-08-19 21:29:43vstinnerlinkissue6734 messages
2009-08-19 21:29:43vstinnercreate