My WIP on Unicode
Sebastian Spaeth
Sebastian at SSpaeth.de
Tue Feb 10 13:59:13 GMT 2015
Am 10.02.2015 um 13:17 schrieb Nicolas Sebrecht:
> Hello,
>
> Supporting Unicode is much harder than what it seems. The main reasons
> are:
> - Python 2.X sucks with Unicode;
> - our codebase has too much enterlaced variables over objects and
> modules;
> - each library (if not each module of libraries) handles Unicode
> differently.
Yes, having a clean nice Unicode-capable code would be a nice goal. Our
imap library passes everything pretty raw which leads to surprises when
you have folder names with accents, Umlaute and other "weird"
characters. Also, it would lead to a path towards a python3 world :-).
I was looking at the imapclient library by Menno Smit, and it looks
nice, but lacks a bit of functionality compared to the imaplib we use.
(http://imapclient.readthedocs.org/en/latest/)
It uses unicode in a consistent way and it is nicely documented code.
Anyway, I don't see myself spending much time in the forseeable future,
so whatever Nicolas does towards that goal is much appreciated :-).
Sebastian
More information about the OfflineIMAP-project
mailing list