Re: Using regex.h
Re: Using regex.h
- Subject: Re: Using regex.h
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 26 Nov 2004 14:58:13 -0800
On Nov 26, 2004, at 2:07 PM, Andrew Farmer wrote:
and remember that + (NSString) stringWithCString; and - (NSString)
cString; are your friends.
As friends, + stringWithCString: and -cString are rather fickle. They
may give rise to problems related to encoding, and should be considered
deprecated. You are encouraged to use initWithBytes:length:encoding:
(or initWithBytesNoCopy:length:encoding:freeWhenDone:) and
dataUsingEncoding:allowLossyConversion: instead.
mmalc
_______________________________________________
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