[Python-Dev] mUTF-7 support?
victor.stinner at gmail.com
Fri Oct 10 01:08:29 CEST 2014
You can develop a codec and plug it into Python 3.4 right now using
It's difficult to decide if a codec is important enough to be added to Python.
When you say "IMAP4", do you mean any IMAP4 server? Do you have a list
of server vendors known to use the encoding mUTF-7? Is it possible to
ask the server to speak a specific codec like UTF-8? I don't know the
protocol. Interesting article:
Python supports UTF-7, but this codec doesn't look to be used. Bugs
were fixed in this codec "recently".
Anyway, open an issue ;-)
How is mUTF-7 different than UTF-7? (Why yet another encoding while
standard UTF encodings exist???)
Requests of new encodings:
"missing vietnamese codec TCVN 5712:1993 in Python" (open)
"add thai encoding aliases to encodings.aliases" (open)
"Add "java modified utf-8" codec" (closed as wont fix 2 years ago)
"Add support for CESU-8 encoding" (rejected 3 years ago)
"Adding new CNS11643, a *huge* charset, support in cjkcodecs"
(closed as wont fix 4 years ago)
"Add KOI8-RU as a known encoding" (rejected 5 years ago)
("This charset wasn't supported by Ukrainian Internet community due to
political reasons; KOI8-U was invented as opposition to KOI8-RU.")
Recently added codec:
"Add support of the cp1125 encoding" (1 year ago)
"Add cp65001 codec" (3 years ago)
2014-10-10 0:47 GMT+02:00 Jesus Cea <jcea at jcea.es>:
> 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.
> We already support quite amusing encodings in
> What do you think?. Could be considered for Python 3.5?.
> I volunteer for the job, of course.
> PS: Do you think a Python implementation would be good enough?. I don't
> think this need to be C-fast.
> Jesús Cea Avión _/_/ _/_/_/ _/_/_/
> jcea at jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/
> Twitter: @jcea _/_/ _/_/ _/_/_/_/_/
> jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/ _/_/ _/_/
> "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/
> "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com
More information about the Python-Dev