Re: japanese characters in document based application
Re: japanese characters in document based application
- Subject: Re: japanese characters in document based application
- From: Chris Hanson <email@hidden>
- Date: Mon, 13 Sep 2004 13:15:23 -0700
On Sep 13, 2004, at 12:55 AM, Julien Palmas wrote:
[@"the japanese character" cString]
-[NSString cString] is deprecated and should not be used.
You should always use one of the NSString methods that either
specifically refers to a string encoding (such as -[NSString
UTF8String]), or one of the NSString methods that allows you to specify
(such as -[NSString dataUsingEncoding:]).
For your use, you probably want -[NSString dataUsingEncoding:] since it
lets you get an NSData in a single step.
-- Chris
_______________________________________________
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