Re: how to Encode the unicode to UTF-8 in cocoa.
Re: how to Encode the unicode to UTF-8 in cocoa.
- Subject: Re: how to Encode the unicode to UTF-8 in cocoa.
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 23 Aug 2005 07:17:05 -0600
On Aug 23, 2005, at 7:00 AM, Ratan Bhangale wrote:
As Cocoa text classes support inline input and Unicode layout by
default, I
want to encode it in UTF-8 format. Can any one tell me how to do it.
NSString et al. use UTF-16 internally and there's no way to change
this. However, NSString does have methods that take in and return
UTF-8 encoded data, +stringWithUTF8String: and -UTF8String. Please
see the NSString documentation for more details.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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