[imp] db migration and sorting

Janis Eisaks je at ktf.rtu.lv
Mon May 23 12:53:35 UTC 2011


Quoting Jan Schneider <jan at horde.org>:

>> 2. what can be done to display folder list in alphabetical order  
>> for selected language - for example letter "č" in Latvian follows  
>> "c", not "z"
>>
>> Horde 1.0.8 places national letters before A, 1.2.9 and Horde4/IMP5  
>> - after Z
>
> We use strnatcasecmp and strcasecmp for sorting mailboxes. Those  
> have the advantage of correctly sorting mailboxes with numbers and  
> being binary-safe. For better locale-specific sorting, we would have  
> to use strcoll, but this function doesn't support either of the  
> former features.

so - resumé - it is not possible to get folders in correct  
alphabetical order rathen than for ASCII-named, isn't it?

Janis

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the imp mailing list