Kodovani slozek v Evolution

Dan Lukes dan at obluda.cz
Sun Jan 15 22:45:31 CET 2012


On 01/15/12 21:44, Radek Krejča:
> %ls | hd
> 00000000  50 6f 74 6f 76 6e c2 a1  20 73 63 68 72 6e 6b 61
>            P  o  t  o  v  n  -i'-  SP  s  c  h  r  n  k  a

> Znaky tam tedy nejsou.

Trochu me mate, ze to dlouhe 'i' tam je, i kdyz vlastne neni - C2A1 je 
UTF8 kod pto "vykricnik vzhuru nohama" - i kdyz pripoustim, ze ten je 
opticky dlouhemu 'i' v ramci moznosti docela podobny.

Preci jen bych to zkusil jeste jednou a bez pouziti 'ls'.

> Nezbyva, nez zkusit nalezt moznost ukladat ty
> slozky nejak kodovane, treba base64 (pokud ovsem tam nejaka takova
> moznost je, protoze at koukam, jak koukam, nic takoveho v nastaveni
> nevidim, nebo zkusit jiny FS.

Otazka je, nakolik ti jiny FS pomuze. Nepouziva, nahodou, pro komunikaci 
s Eclipse mily Outlook IMAP ?

Pak ovsem jak klient tak server musi byt RFC5738 komatibilni, aby byla 
diakritika v nazvech mailboxu vubec pripustna. A protoze RFC5738 je dost 
cestva novinka (brezen 2010) tak docela verim, ze spis nejsou.

Pokud nejsou, tak plati tohle:

  -------------------
> 5.1. Mailbox Naming
>
>
>    Mailbox names are 7-bit.  Client implementations MUST NOT attempt to
>    create 8-bit mailbox names, and SHOULD interpret any 8-bit mailbox
>    names returned by LIST or LSUB as UTF-8.  Server implementations
>    SHOULD prohibit the creation of 8-bit mailbox names, and SHOULD NOT
>    return 8-bit mailbox names in LIST or LSUB.  See section 5.1.3 for
>    more information on how to represent non-ASCII mailbox names.
>
>         Note: 8-bit mailbox names were undefined in earlier
>         versions of this protocol.  Some sites used a local 8-bit
>         character set to represent non-ASCII mailbox names.  Such
>         usage is not interoperable, and is now formally deprecated.
  -------------------

V takovem pripade - pokud tedy Outlook pres IMAP zkusi vytvorit mailbox 
s diakritikou, je to chyba Outlooku. Call support.

I kdyz to klient zkusi, server by to mel odmitnout - takze je treba 
opravit i server.

Do te doby je treba informovat uzivatele, ze soucasna softwarova reseni 
diakritiku v nazvech mailboxu a folderu nepodporuji a Outlok i Eclipse 
je navic vadny a na diakritiku reaguej nespravne - a tudiz je na nich 
aby ji tam nepsali, jinak budou mit problemy.

Dan



More information about the Users-l mailing list