[Lazarus] UTF8 string compare with correct locale sorting

Jy V jyv110 at gmail.com
Mon Oct 21 13:00:17 CEST 2013

On Mon, Oct 21, 2013 at 10:24 AM, Michael Schnell <mschnell at lumino.de>wrote:

> If string compare also allows for "greater" vs "smaller" results the
> programming language needs to impose some sort order (and maybe a lot more
> "locale"-depending complex algorithms). This to me seems horribly
> complicated. Rather obviously you can't define a natural sort order for the
> complete set of Unicode characters. Thus a kind of "localization" is
> necessary and supposedly needs to be selectable/definable by the user via
> "locale" or whatever.

this is the purpose of "Collations"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131021/99dd1ccf/attachment-0003.html>

More information about the Lazarus mailing list