Re: NSString and char *
Re: NSString and char *
- Subject: Re: NSString and char *
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 12 Feb 2006 10:27:59 +0000
On 2/12/06, Jordan Krushen <email@hidden> wrote:
> Giving you the benefit of the doubt that you're not using Tiger
> (although this would still be in the NSString documentation), if you
> want an autoreleased string, just use +stringWithCString:
stringWithCString has been "not recommended" for some time, since it
can assume different encodings on different systems. You should
specify what encoding the C string is in.
-- Finlay
_______________________________________________
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