Re: NSStringReference: Chinese encodeing
Re: NSStringReference: Chinese encodeing
- Subject: Re: NSStringReference: Chinese encodeing
- From: Douglas Davidson <email@hidden>
- Date: Thu, 16 May 2002 17:40:56 -0700
On Saturday, May 11, 2002, at 07:49 PM, Andy wrote:
An Apple employee on this list told me you should consider the list for
CFStrings to be definative for NSStrings. They're meant to be
inter-operable.
That is correct. CFString and NSString are toll-free bridged, and
generally speaking what can be done with one can be done with the
other. In the case of the encodings, the list of encodings available is
the same for CFString and NSString, although the actual constants
differ--hence CFStringConvertEncodingToNSStringEncoding() and
CFStringConvertNSStringEncodingToEncoding(), to convert a
CFStringEncoding value to or from an NSStringEncoding.
Douglas Davidson
_______________________________________________
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.