• 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: searching a Unicode string in a text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: searching a Unicode string in a text


  • Subject: Re: searching a Unicode string in a text
  • From: Andreas Mayer <email@hidden>
  • Date: Fri, 20 Sep 2002 18:27:42 +0200

Am Freitag, 20.09.02 um 14:29 Uhr schrieb Ondra Cada:

Also, I am not sure in which extent this is actually implemented in the current Foundation Kit, but at least in principle with Unicode it is possible that [s1 isEqualToString:s2], but [s1 length]!=[s2 length] (due to composite characters).

At least it's explicitly mentioned in the documentation for rangeOfString:options:range:

"The length of the returned range and that of subString may differ if equivalent composed character sequences are matched."

So, hopefully, it's implemented as well. :)


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: searching a Unicode string in a text (From: Ondra Cada <email@hidden>)

  • Prev by Date: current event time?
  • Next by Date: Re: Shielding Windows/Observations About Force Quit
  • Previous by thread: Re: searching a Unicode string in a text
  • Next by thread: Re: Re(2): Preferences (was: UI: "Direct manipulation" is in conflict with "Forgiveness")
  • Index(es):
    • Date
    • Thread