[Lazarus] UTF8 string compare with correct locale sorting

Jy V jyv110 at gmail.com
Fri Oct 18 19:37:24 CEST 2013


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


You are looking for Collation support,
Comparing/Sorting requires additional infos to load the proper collation
for your language (which is not provided in the string encoded as UTF8)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131018/20379436/attachment-0003.html>


More information about the Lazarus mailing list