On Tue, Sep 1, 2009 at 2:55 PM, Kyle Sluder<[email protected]> wrote:
> On Tue, Sep 1, 2009 at 2:34 PM, Sean McBride<[email protected]> wrote:
>> There is no "the" filesystem.  HFS may store decomposed, but other
>> systems may not.  And different file systems have a different set of
>> allowable filenames.  Some low-ASCII characters are invalid too.
>
> 99% of users are running HFS+, which is where this problem most often
> manifests itself.
>
>> That might be the best approach, depending on all the usual things.  But
>> 'high-ASCII' filenames have been acceptable on the Mac for a very long
>> time, and do work.
>
> The problem is that the encoding used in the string literal might not
> be that used on disk.  HFS+ is documented *not* to normalize input
> strings, so this matters.

Where is that documented?
<http://developer.apple.com/legacy/mac/library/technotes/tn2002/tn2078.html>
is pretty explicit that HFS+ is always normalized:

"HFS+ disks store file names as UTF-16 in an Apple-modified form of
Normalization Form D (decomposed)."

-- 
Clark S. Cox III
[email protected]
_______________________________________________

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