Re: Core Data and localized sort on iOS
Re: Core Data and localized sort on iOS
- Subject: Re: Core Data and localized sort on iOS
- From: Fritz Anderson <email@hidden>
- Date: Thu, 03 Jan 2013 14:49:13 -0600
On 3 Jan 2013, at 2:08 PM, Matt Neuburg <email@hidden> wrote:
> What I do in my Core Data-based Latin and Greek vocabulary list iOS apps is maintain extra fields (attributes) that contain transliterations of the Greek/Latin terms into the English alphabet in such a way that sorting normally on those fields gives me the order that is correct for Greek/Latin. m.
You may be right, but I don't understand. Greek (unless polytonic) and Latin have smaller alphabets than English, so mapping words to English transliterations would make sense.
French has accents, which are significant in collation. Further, accented characters count in collation from right to left: _e_e < _é_e < _e_é < _é_é (as I understand it). A simple transliteration would collapse them all to _e_e, thus losing the information I most worry about, am I right?
For the moment, Kyle's suggestion of pre-cooking the collation order (I have a fixed list) makes the most sense, and I thank him for it.
— F
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden