[Lazarus] UTF8 string compare with correct locale sorting

Jürgen Hestermann juergen.hestermann at gmx.de
Fri Oct 18 18:13:41 CEST 2013


Am 2013-10-18 11:39, schrieb Hans-Peter Diettrich:
 > Sorting can be done not only by locale and alphabetically, but also in phone book and more sort orders.

But I don't know any sort order that sorts german umlauts at the end of the whole list (as UTF8CompareText does).
Such a sort order is not usable for me.

 > Just in German you have a couple of options to sort umlauts, and such national stuff is covered by unicode standard libraries.

As it seems these libraries are not available for UTF8 directly (only after time consuming conversion to UTF16).





More information about the Lazarus mailing list