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.

Title: Add mUTF-7 codec (UTF-7 modified for IMAP)
Type: enhancement Stage: needs patch
Components: Unicode Versions: Python 3.6
Status: open Resolution:
Dependencies: 24848 Superseder:
Assigned To: serhiy.storchaka Nosy List: ezio.melotti, jcea, juris, lcnittl, martin.panter, pitrou, raulcd, serhiy.storchaka
Priority: normal Keywords:

Created on 2014-10-10 10:24 by jcea, last changed 2022-04-11 14:58 by admin.

Messages (8)
msg228979 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2014-10-10 10:24
Looks like there is consensus to add "mUTF-7" or "imap4 UTF-7" to the codec module for Python 3.5. Details in dev/2014-October/136601.html
msg229001 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-10-10 14:48
Could you please add a link to RFC?
msg229103 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2014-10-11 20:53
Note how detailed the specification of "modified utf-7" is :-)
msg247159 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2015-07-23 01:30
Not sure on the scope of this, but if someone wants to implement the incremental codec API, be aware that the existing UTF-7 codec, PyUnicode_DecodeUTF7Stateful() API, etc, does not actually support this properly. See Issue 20132, e.g. the test cases in <>. I recommend against impementing an incremental or stream codec based only on a stateless codec.
msg248174 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2015-08-07 04:41
msg248178 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-08-07 05:43
I take this.
msg365819 - (view) Author: Juris Kaminskis (juris) Date: 2020-04-05 13:26
Would be good to have solution for this out-of-box in Python3. Any news?
msg368785 - (view) Author: Christian Knittl-Frank (lcnittl) Date: 2020-05-13 15:30
I just stumbled over this too. Very eager to know if there are any news on the state of out-of-box support for the "mUTF-7" codec.
Date User Action Args
2022-04-11 14:58:08adminsetgithub: 66788
2020-05-13 15:30:22lcnittlsetnosy: + lcnittl
messages: + msg368785
2020-04-08 22:23:11vstinnersetnosy: - vstinner
2020-04-05 13:26:41jurissetnosy: + juris
messages: + msg365819
2015-08-12 07:43:59serhiy.storchakasetdependencies: + Warts in UTF-7 error handling
2015-08-07 05:43:29serhiy.storchakasetmessages: + msg248178
2015-08-07 05:42:12serhiy.storchakasetassignee: serhiy.storchaka
versions: + Python 3.6, - Python 3.5
2015-08-07 04:41:52jceasetassignee: jcea -> (no value)
2015-08-07 04:41:42jceasetmessages: + msg248174
2015-07-23 01:30:03martin.pantersetnosy: + martin.panter
messages: + msg247159
2014-10-11 20:53:01pitrousetnosy: + pitrou
messages: + msg229103
2014-10-10 15:56:11vstinnersettitle: IMAP4 UTF-7 support -> Add mUTF-7 codec (UTF-7 modified for IMAP)
2014-10-10 15:55:36vstinnersetnosy: + ezio.melotti, vstinner
components: + Unicode
2014-10-10 15:02:17raulcdsetnosy: + raulcd
2014-10-10 14:48:28serhiy.storchakasetnosy: + serhiy.storchaka

messages: + msg229001
stage: needs patch
2014-10-10 10:28:40jcealinkissue5305 dependencies
2014-10-10 10:24:17jceacreate