docker-offlineimap/offlineimap/repository
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 correctly reraise errors with six 2016-07-03 19:56:14 +02:00
Base.py utf8: implement utf8foldernames option 2017-10-02 21:09:43 +02:00
Gmail.py Merge branch 'avar/pr404' into next 2016-11-17 17:58:13 +01:00
GmailMaildir.py repository: GmailMaildir: fix copyright 2015-01-14 18:01:05 +01:00
IMAP.py utf8: implement utf8foldernames option 2017-10-02 21:09:43 +02:00
LocalStatus.py remove support for the status_backend configuration option 2017-03-25 13:47:30 +01:00
Maildir.py Enable environment variable expansion on Repository.localfolders 2016-11-30 19:22:57 +01:00