Folder allowed character

Alain Spineux aspineux at gmail.com
Fri Nov 21 07:13:03 EST 2008


On Thu, Nov 20, 2008 at 8:19 AM, Sebastian Hagedorn
<Hagedorn at uni-koeln.de> wrote:
> -- 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.

Yes right !
very good answer!

Alain

> --
> 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



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list