File.exists() does not work on mac for non-English characters on Java 7 on Mac
Alan Bateman
Alan.Bateman at oracle.com
Wed Oct 10 01:53:54 PDT 2012
On 09/10/2012 21:21, Þorvaldur Blöndal wrote:
> Hi Alan and thanks for the suggestion.
>
> I downloaded version 1.8.0-ea-b59 and unfortunately it's the same.
> And this is not just about the exists()-method. I can't create a
> FileInputStream or anything like that.
> I can also tell you that files with atypical names are not seen at all
> in JFileChooser. I have to use java.awt.FileDialog. See attached picture.
>
> Note: I made a mistake when I said in the report that it previously
> worked in version 7. I meant to say version 6.
>
I'll bet this is related to your locale, you can print out the value of
the file.encoding property?
-Alan.
More information about the macosx-port-dev
mailing list