docker-offlineimap/offlineimap/folder
Urs Liska 36d726763d utf8: implement utf8foldernames option
If utf8foldernames is enabled on account level all folder names read
from the IMAP server will immediately be reencoded to UTF-8. Names
will be treated as UTF-8 as long as the IMAP server isn't contacted again,
for which they are reencoded to IMAP4-UTF-7.

This means that any further processing such as nametrans, folderfilter
etc. will act upon the UTF-8 names, which will have to be documented
carefully.

NOTE 1:
GMail repositories and folders inherit from the IMAP... classes, so I don't
know yet if these changes have ugly side-effects. But web research suggests
that GMail IMAP folders are equally encoded in UTF-7 so that should work
identically here and incorporate the same improvements.

NOTE 2:
I could not test the behaviour with idlefolders as I didn't get this option
to work at all, not even with the latest stable version.

NOTE 3:
I *did* test to sync an IMAP repository against another IMAP repository.

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
..
__init__.py IMAP/IMAP: fix import issue about UIDMaps 2016-07-25 05:26:57 +02:00
Base.py minor code refactoring 2016-11-07 23:03:40 +01:00
Gmail.py folder: Gmail: fix copyright header 2017-08-15 01:24:23 +02:00
GmailMaildir.py GmailMaildir: don't add a tuple to syncmessagesto_passes 2016-07-27 16:29:34 +02:00
IMAP.py utf8: implement utf8foldernames option 2017-10-02 21:09:43 +02:00
LocalStatus.py local status: deletemessagelist: remove broken code 2016-07-25 15:06:39 +02:00
LocalStatusSQLite.py sqlite: provide better message error for insert 2017-07-25 11:28:56 +02:00
Maildir.py folder: Maildir: actually try to use Delivery-Date if Date is broken 2016-11-07 23:14:32 +01:00
UIDMaps.py utf8: implement utf8foldernames option 2017-10-02 21:09:43 +02:00