Skip navigation.
 
mlRe: Using regex.h
FROM : mmalcolm crawford
DATE : Fri Nov 26 23:58:13 2004

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

Related mailsAuthorDate
mlUsing regex.h Oliver Cameron Nov 26, 12:19
mlUsing regex.h Oliver Cameron Nov 26, 19:44
mlRe: Using regex.h Glenn Andreas Nov 26, 23:00
mlRe: Using regex.h Andrew Farmer Nov 26, 23:07
mlRe: Using regex.h Guy English Nov 26, 23:52
mlRe: Using regex.h mmalcolm crawford Nov 26, 23:58
mlRe: Using regex.h Matthew Dec 10, 23:11
mlRe: Using regex.h Chris Eplett Dec 14, 13:47