Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diacritical string compare on 10.4?



David

Turns out that doesn't seem to work. see i need to know if findStr ("substring") appears anywhere inside withinStr ("string to search"),
and i need the compare to use:

The approach suggested to me is to

        CFStringNormalize(mutableCopy, kCFStringNormalizationFormD);

and then remove kCFCharacterSetNonBase. You can then do a search as usual. (This is what I'm using in Opal.)
--


David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.