On Jun 3, 2009, at 12:43 AM, Ken Thomases wrote:
On Jun 2, 2009, at 9:35 PM, Kyle Sluder wrote:
Is -fileSystemRepresentation smart enough to deal with filenames that
point to volumes on which the canonicalization is different than that
used on HFS+?

Its purpose isn't to match the canonicalization of the file system, it's to match the canonicalization of the kernel interface.

Actually, beyond getting stuff into UTF-8, that rationalization is bunk. Its so that encoding agnostic file systems (ahem, NFS) and things like strcmp work as consistently as can be expected(*) since they pass bytes straight through. File systems that care, like HFS, tend to validate and transform their inputs as necessary.

-Ed

(*) Which is to say, they don't really work well at all.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

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