Re: Referring to file by Alias ^or^ path
Re: Referring to file by Alias ^or^ path
- Subject: Re: Referring to file by Alias ^or^ path
- From: Ed Wynne <email@hidden>
- Date: Wed, 3 Jun 2009 01:14:26 -0400
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@hidden)
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:
This email sent to email@hidden