Re: Ignore accents when comparing strings
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