docker-offlineimap/offlineimap
Urs Liska 032376efad utf8: Add imap4_utf_7 codec
Add code to reencode IMAP folder names to regular utf-8.
This starts an implementation that will add a new config option
`utf8foldernames` on account level which will fix #299 and on the
long run replace the current `decodefoldernames` option.

This commit introduces code to register an `imap4_utf_7` codec
on which two-way conversion methods will later be built.

Original code by
(https://www.blogger.com/profile/16648963337079496096),
taken from
http://piao-tech.blogspot.no/2010/03/get-offlineimap-working-with-non-ascii.html

In the comment
http://piao-tech.blogspot.com/2010/03/get-offlineimap-working-with-non-ascii.html?showComment=1316041409339#c669880170006851138
indicates that this code is expected to be incorporated into offlineIMAP and therefore the author implicitly agrees to put it under this license.

Signed-off-by: Urs Liska <git@ursliska.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2017-10-02 21:09:43 +02:00
..
folder folder: Gmail: fix copyright header 2017-08-15 01:24:23 +02:00
repository remove support for the status_backend configuration option 2017-03-25 13:47:30 +01:00
ui Acquire lock before updating the CursesLogHandler window 2017-04-23 12:48:12 +02:00
utils Add OpenSUSE to list of supported distros 2016-11-03 16:35:24 +01:00
__init__.py v7.1.2 2017-07-10 16:58:50 +02:00
accounts.py maxage: use the remote folder first to compute min_uid 2017-05-21 00:50:04 +02:00
bundled_imaplib2.py bump from imaplib2 v2.55 to v2.57 2017-03-05 13:28:47 +01:00
CustomConfig.py ConfigHelperMixin must be new-style class to not break inheritance 2016-07-30 04:26:25 +02:00
emailutil.py Rename email.Parser to email.parser 2016-05-10 02:53:09 +02:00
error.py more consistent style 2015-01-07 21:31:43 +01:00
globals.py fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
imaplibutil.py improve error message when ssl_version must be set due to the tls_level 2016-07-25 03:29:25 +02:00
imapserver.py remotehost should not be required if transporttunnel is used 2017-09-21 18:50:57 +02:00
imaputil.py utf8: Add imap4_utf_7 codec 2017-10-02 21:09:43 +02:00
init.py env info (used by -V and banner): add openssl version 2017-05-02 17:09:03 +02:00
localeval.py minor code enhancements 2016-07-28 00:42:35 +02:00
mbnames.py mbnames: don't duplicate entries in autorefresh mode 2017-05-19 08:32:22 +02:00
threadutil.py fix the profile mode 2016-11-08 07:11:33 +01:00
virtual_imaplib2.py increase imaplib2 requirement from v2.55 to v2.57 2017-07-09 17:28:12 +02:00