On Jun 2, 2009, at 5:18 PM, Stephen J. Butler wrote:
This should be [path fileSystemRepresentation]; Yes, this is UTF-8, but IIRC it puts the string in a certain normalized form before UTF-8 encoding it.
No, it returns a UTF-8 string. The reason why you should use - fileSystemRepresentation is so your program won't break if a different encoding is used to access file systems in a future version of the OS.
Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com