[Lazarus] UTF8 string compare with correct locale sorting

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Oct 18 11:39:48 CEST 2013


J├╝rgen Hestermann schrieb:

> It's strange that so many UTF8 string functions exist but none that 
> sorts correctly dependend on locale.

Sorting can be done not only by locale and alphabetically, but also in 
phone book and more sort orders. Just in German you have a couple of 
options to sort umlauts, and such national stuff is covered by unicode 
standard libraries.

I didn't realize that such functions are supplied only for the target 
Unicode representation, thanks for mentioning this topic.

DoDi





More information about the Lazarus mailing list