Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file to uri to file madness




On 24 Aug 2006, at 15:34, Michael Macaluso wrote:

IMHO, this is a bug in the VM in that it forces you to decompose the unicode characters. It is a nice fact to know that the filesystem stores decomposed UTF-8 file names, but why in the world did that creep up into the semantic contract of the File class????? In the unicode standard, the decomposed and composed characters are intended to carry the same meaning. While there may be nothing that states that both should work equivalently within a Unicode application (maybe there is, I am not sure?), it makes life difficult to have to know which form is required. If Apple chooses to require the decomposed form in the C APIs, fine, but have the JAVA VM do the decomposition so the WORA contract of the core JAVA File class may be maintained. Logically, if the non-UI File class becomes semantically platform specific, the entire WORA model of the VM is compromised!!

There's a previous discussion on this topic: http://lists.apple.com/ archives/Java-dev/2004/Nov/msg00472.html


Also, be aware that the decomposition form for HFS+ is not one of the standard Unicode forms: http://developer.apple.com/technotes/tn/ tn1150.html

It's still a bug though.

Jerry



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: file to uri to file madness (From: François-Paul Servant <email@hidden>)
 >Re: file to uri to file madness (From: Jerry <email@hidden>)
 >Re: file to uri to file madness (From: Larry Nussbaum <email@hidden>)
 >Re: file to uri to file madness (From: Michael Macaluso <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.