GNOME Bugzilla – Bug 533478
[IMAPx] Support umlauts in user tags
Last modified: 2015-08-10 14:03:17 UTC
I connect to a Zimbra installation via IMAP. I have a folder called "INBOX/Später" (note the Umlaut), and accessing/syncing it works, since Evolution escapes its name. Here is the communication between Evolution and Zimbra: Evolution: SELECT INBOX/Sp&AOQ-ter Server: OK [READ-WRITE] SELECT completed I also have an IMAP tag called "Später", which causes an error (I guess since it is not escaped): Evolution: UID STORE 1119,1121,1123,6321 FLAGS.SILENT (\Seen Später) Zimbra: BAD parse error: wrong character; expected ' ' but got '?' I don't know if this is an error in Zimbra's IMAP implementation or Evolution's. This occurs on e-d-s 2.22 and lates SVN TRUNK, rev 8797.
it's an evolution bug, but flags aren't meant to be UTF7 encoded. There's a limitation on what chars can be used tho, which is a subset of ascii perhaps UTF7 encoding non-conforming names is the solution, but there's not really a standard way of doing it. I wonder what other clients do in this situation.
thunderbird-31.7.0 uses modified utf7, they remove leading '-' and also lowercase the letters, thus reading it back produces garbage. Let's do the utf7 too, but the correct one, thus the string can be read forth and back. Created commit 1bdd107 in eds master (3.17.90+)