| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Greg,
I think you are right about it being two different bugs (although probably related). On 10.4 using the latest 1.5 update, doing a File.length() on a file with composed extended characters seemed to always return 0 (definitely not the case on < 10.4). We thought it was ALL extended characters (most of our tested extended characters are the Western European accented characters), so we worked around the problem by always using the decomposed file name. However, after this thread we went back to our tests and the ones that failed were only those that had 3 or more CONTIGUOUS accented characters. Names like "áàâäãåç.tif", "ïñóòôöõ.tif", and "∆«»…ÀÃÕ.tif" will always fail, but names like "áàxâäxãåxç.tif", "£§•¶ß®©.tif" and "∏π∫ªºΩæ.tif" seem to work. I can't say whether or not the MacBinary Toolkit would work on the above composed names since we always decompose the name before interfacing with it. Also, just to re-iterate, when dealing with extended characters with a mac, you will get different behavior when referencing files with composed extended names depending on whether or not they are local to your machine (remote volumes bug I referenced before). The only way to ensure a location agnostic behavior is to ALWAYS decompose your file names. So, in the case Francois-Paul noted, you can work around it by using the decomposed name. In the second case I mentioned, you can work around the problem by using the decomposed name. The moral of the story...decompose your file names!! Regards, Michael |
_______________________________________________ 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: Greg Guerin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.