Re: How to convert a path into a 'const UInt8 *path'?
Re: How to convert a path into a 'const UInt8 *path'?
- Subject: Re: How to convert a path into a 'const UInt8 *path'?
- From: Chris Hanson <email@hidden>
- Date: Sun, 24 Aug 2003 04:03:28 -0500
On Saturday, August 23, 2003, at 09:06 PM, Gus Mueller wrote:
I think if you use [string UTF8String] to make the const UInt8*,
that'll work just fine.
No, use -[NSString fileSystemRepresentation]. That's what it's there
for, to return exactly the encoding and decomposition required by
lower-level filesystem APIs.
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.