On Mar 15, 2008, at 12:34 PM, Keith Duncan wrote:

-cString has been deprecated for a very long time; it's better to use UTF8String.

Not all file systems support UTF8, you should use - fileSystemRepresentation instead for compatability.

For some APIs, but not in this case. The OP is creating a CFString and explicitly specifying UTF-8 input but passing the result of - cString, which is generally not UTF-8.
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to