Re: [Imap-protocol] MUTF7, UTF8, and Unicode flags

Jan Kundrát <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On Thursday, 20 February 2014 18:10:01 CEST, Arnt Gulbrandsen wrote:
> just use UTF8 for mailbox names

Seriously? This is going to break stuff. You might argue that people 
creating mailboxes named "&U,BTFw-" are unlikely :), but it's a valid 
string both in UTF-8 and in the modified UTF-7 encoding -- except that the 
two meanings are very different.

Implementing imap-utf7 is not hard, and chances are that there are 
libraries which one can easily use in almost every language. Sending UTF-8 
where the standard is absolutely clear on what to do is just wrong.

As for the flags/keywords, there's unfortunately no standard for that. 
Thunerbird is using modified UTF-7 for them [1]. There's a proposal [2] for 
using the METADATA extension for mapping ASCII keywords to Unicode names, 
but I don't think it was ever standardized (and perhaps not implemented, 
either).

Cheers,
Jan

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=650623
[2] 
http://dovecot.2317879.n4.nabble.com/Gmail-like-labels-three-years-later-td41128.html

-- 
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.