My WIP on Unicode
Sebastian at SSpaeth.de
Tue Feb 10 13:59:13 GMT 2015
Am 10.02.2015 um 13:17 schrieb Nicolas Sebrecht:
> Supporting Unicode is much harder than what it seems. The main reasons
> - Python 2.X sucks with Unicode;
> - our codebase has too much enterlaced variables over objects and
> - each library (if not each module of libraries) handles Unicode
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.
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 :-).
More information about the OfflineIMAP-project