MailEncodeFolderName
function MailEncodeFolderName(const aText: string): string;
Modified UTF-7 (RFC 3501 sec.5.1.3), the mailbox name encoding of IMAP4rev1. MailEncodeFolderName gives the one canonical spelling of aText. Decode is True only for that spelling: printable US-ASCII alone, '&-' for '&', and each other run as '&' modified BASE64 of UTF-16 '-', with zero padding bits, no null shift and no printable US-ASCII inside a run. It checks the coding, not the text: a control character decodes.