On Thu, 9 Oct 2014 19:12:29 -0700 Dan Stromberg <drsali...@gmail.com> wrote: > On Thu, Oct 9, 2014 at 3:47 PM, Jesus Cea <j...@jcea.es> wrote: > > I miss mUTF-7 support (as used to encode IMAP4 mailbox names) in Python, > > in the codecs module. As an european with a language with 27 different > > letters (instead of english 26), tildes, opening question marks, etc., I > > find it very inconvenient. > > > > This encoding is used basically only in IMAP4, I know. But IMAP4 is an > > important protocol and all projects related to it needs mUTF-7 support > > if they care about non-english alphabets. Everybody has already an > > implementation, waste of effort. > > I've been parsing up a huge gmail account with no encoding errors, > using CPython 2.x and CPython 3.x. I'd be surprised if there are no > foreign characters in any of the thousands of messages there - but > maybe I'm just being very lucky. I'm not specifying a codec, and I > don't see a way of specifying one offhand.
AFAIU, this is specifically about mailbox names, not messages. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com