Quoting Janis Eisaks <j...@ktf.rtu.lv>:
Quoting Jan Schneider <j...@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?
It looks like we might be able to use Collator::compare()
(http://www.php.net/manual/en/collator.compare.php) to do the sorting.
But this is only available in PHP 5.3.0+.
michael
___________________________________
Michael Slusarz [slus...@horde.org]
--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org