[Imap-protocol] LIST wildcards with mUTF-7

Timo Sirainen tss at iki.fi
Thu May 13 02:15:45 PDT 2010

I just added some code that supports listing mailboxes with UTF-8 input. Pretty soon I discovered a problem. For example I have two mailboxes:

pä = p&AOQ-
pää = p&AOQA5A-

Now, if I try to list "pä*" I'd expect this to match both mailboxes, but it gets converted to "p&AOQ-*", so it won't match the second one. Maybe IMAP servers should be converting the names to UTF-8 internally and match only after that?

More information about the Imap-protocol mailing list