• 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: Ignore accents when comparing strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignore accents when comparing strings


  • Subject: Re: Ignore accents when comparing strings
  • From: "R.Claeson" <email@hidden>
  • Date: Thu, 6 Jan 2005 11:26:42 +0100


On 6 Jan 2005, at 02:21, Brendan Younger wrote:

I think (mostly) everyone here is missing the point. The accented "a", also known as U+0030, does not compare before the word "arc" as it should (especially since it compares equal to a non-accented "a"). The original poster had a legitimate problem which had nothing to do with file encodings but that seems to be all everyone is talking about. The question is, is it a bug that the accented "a" compares after the word "arc" or is it a misunderstanding?

It might be true that an accented "a" should compare before the word "arc" in some languages, but not in all. The behavior is (or should be) locale dependent. While the character "รค" is just an accented "a" (a umlaut) in some languages and should be sorted together with "a" in some languages (German comes to mind), it is a completely separate character in its own right in other languages and has its own location in the alphabet in others and must not be sorted together with a plan "a" (Swedish comes to mind).


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Ignore accents when comparing strings
      • From: glenn andreas <email@hidden>
References: 
 >Ignore accents when comparing strings (From: "Simon alias Trax" <email@hidden>)
 >Re: Ignore accents when comparing strings (From: Andrew Farmer <email@hidden>)
 >Re: Ignore accents when comparing strings (From: Kevin Ballard <email@hidden>)
 >Re: Ignore accents when comparing strings (From: Brendan Younger <email@hidden>)

  • Prev by Date: Re: Newbie: debugging raised exception
  • Next by Date: Close a alert sheet programatically
  • Previous by thread: Re: Ignore accents when comparing strings
  • Next by thread: Re: Ignore accents when comparing strings
  • Index(es):
    • Date
    • Thread