Files
cpython/Lib/test
562606deed gh-66788: Add the utf-7-imap codec (GH-153149)
Implement the modified UTF-7 encoding used for international IMAP4
mailbox names (RFC 3501, section 5.1.3).  It differs from UTF-7:
"&" is the shift character ("&-" encodes a literal "&"), "," replaces
"/" in the Base64 alphabet, and all non-printable-ASCII characters are
Base64-encoded.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-08 14:55:27 +03:00
..