Folder allowed character

Sebastian Hagedorn Hagedorn at uni-koeln.de
Thu Nov 20 02:19:49 EST 2008


-- Alain Spineux <aspineux at gmail.com> is rumored to have mumbled on 20. 
November 2008 07:57:13 +0100 regarding Re: Folder allowed character:

> On Tue, Nov 18, 2008 at 7:38 PM, Wesley Craig <wes at umich.edu> wrote:
>> On 18 Nov 2008, at 05:28, Antonio Talarico wrote:
>>> Where i can found a list with allowed character for a folder name?
>>
>> ./imap/mboxname.c:#define GOODCHARS " #$'+,-.
>> 0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
>>
>
> These characters are about the mailbox name.
> Imap clients must use a modified UTF-7 encoding for Folders name.
> This allow you to use any characters in any language (if your client
> is compliant on this part of imap spec).

Actually not *any* character. You can't have a '/' or a '!', for example. 
Those characters aren't encoded any differently with modified UTF-7. AFAICT 
you can use any character that's outside of US-ASCII, but only those from 
US-ASCII that are in GOODCHARS.
--
Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20081120/277134a2/attachment.bin 


More information about the Info-cyrus mailing list