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 zvyn
Recipients barry, jesstess, pitrou, r.david.murray, zvyn
Date 2014-07-01.00:50:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404175815.98.0.684783714649.issue21800@psf.upfronthosting.co.za>
In-reply-to
Content
I made a patch implementing the following changes to the IMAP4 class:
- add a method 'enable_UTF8_accept()' sending "ENABLE UTF8=ACCEPT" to the server and setting internal encoding to UTF-8
- use the UTF8 extencion in the 'append()' method if the internal encoding is UTF-8
- add a keyword argument 'enable_UTF8=False' to the init method to trigger 'enable_UTF8_accept()' as soon as the authentication is done
- always use UTF-8 for encoding credentials in authentication (before encoding it to base64)

Does this look like a good idea to you? (I'll make a patch including docs when we agree on the API.)
History
Date User Action Args
2014-07-01 00:50:16zvynsetrecipients: + zvyn, barry, pitrou, r.david.murray, jesstess
2014-07-01 00:50:15zvynsetmessageid: <1404175815.98.0.684783714649.issue21800@psf.upfronthosting.co.za>
2014-07-01 00:50:15zvynlinkissue21800 messages
2014-07-01 00:50:15zvyncreate