Sort problem
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Sat Aug 2 12:52:36 CDT 2014
On 8/2/14, 6:23 PM, "Beatrix Willius" <bwillius at gmx.de> wrote:
Hi Beatrix,
Both, NS methods of Apple, and Valentina use ICU engine underline.
Note, that field have on the right side -- in the Inspector
many enough settings that control ICU and strings.
They open all features of ICU.
> how do I do a sort that sorts umlauts (ö = oe) different than the original
> character (o)?
>
> My test data is
>
> smorebröd
> smörebröd:test
> smorebröd:test
> smörebröd
>
> If I sort this in Xojo with a comparing function:
>
> Function Compare(s1 as String, s2 as String) As Integer
> const NSCaseInsensitiveSearch = 1
> Return NSStringCompareMBS(s1, s2, NSCaseInsensitiveSearch)
> End Function
>
> then I get the correct result:
>
> smorebröd
> smorebröd:test
> smörebröd
> smörebröd:test
>
> But when I do a simple click on the column header in VStudio then I get
>
> smorebröd
> smörebröd
> smorebröd:test
> smörebröd:test
>
> Bug or feature?
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list