Skip navigation.
 
mlRe: Cocoa string to carbon compatible C string
FROM : Nick Zitzmann
DATE : Mon May 12 00:14:46 2008

On May 11, 2008, at 4:11 PM, Steve Cronin wrote:

> If that is true, then is the following the best solution?



I guess it is then, unless initSomeSystem() modifies the character 
array, in which case you may have a problem. You could also use -
UTF8String instead of -cStringUsingEncoding: if you want.

Nick Zitzmann
<http://www.chronosnet.com/>

Related mailsAuthorDate
mlCocoa string to carbon compatible C string Steve Cronin May 11, 19:36
mlRe: Cocoa string to carbon compatible C string Nick Zitzmann May 11, 19:59
mlRe: Cocoa string to carbon compatible C string Jens Alfke May 11, 22:38
mlRe: Cocoa string to carbon compatible C string Steve Cronin May 12, 00:11
mlRe: Cocoa string to carbon compatible C string Nick Zitzmann May 12, 00:14
mlRe: Cocoa string to carbon compatible C string Scott Ribe May 12, 19:41