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: Problems with File.exists() and surrogate pairs in filename



I should also add here, that f.getCanonicalPath(), which getCanonicalFile() uses to make the File, returns an empty string.

-- Scott K.

On Nov 4, 2009, at 8:04 PM, Sam Berlin wrote:

> Without having any rationale for why this would change/fix it, try printing f.getCanonicalFile().exists().  Does it still fail?
> 
> Sam

 _______________________________________________
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: 
 >Problems with File.exists() and surrogate pairs in filename (From: Scott Kovatch <email@hidden>)
 >Re: Problems with File.exists() and surrogate pairs in filename (From: Sam Berlin <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.