• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data and localized sort on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data and localized sort on iOS


  • Subject: Re: Core Data and localized sort on iOS
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 03 Jan 2013 14:54:01 -0800

On Jan 3, 2013, at 12:49 PM, Fritz Anderson wrote:

> A simple transliteration

I didn't say the transliteration was simple. I had to devise a code (properly called a "beta code") that would yield the correct result. To give a simple example, if you want a-accent-aigu to sort before a-accent-grave, you might transliterate them as a1 and a2. Or, just the other way round, if you want them to sort indifferently, you might transliterate them both as a. By the same token, I lowercased everything because I didn't want case to be significant in the sort order. But the point is that this code, once devised, can be machine-generated mechanically at the time you construct the database, and then Bob's your uncle. This technique is as old as the hills and quite as solid. m.


_______________________________________________

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

References: 
 >Core Data and localized sort on iOS (From: Matt Neuburg <email@hidden>)
 >Re: Core Data and localized sort on iOS (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Editing multiple selections with bindings
  • Next by Date: Re: Core Data and localized sort on iOS
  • Previous by thread: Re: Core Data and localized sort on iOS
  • Next by thread: Re: Core Data and localized sort on iOS
  • Index(es):
    • Date
    • Thread