Re: searching a Unicode string in a text
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.