File.exists() does not work on mac for non-English characters on Java 7 on Mac
David Kocher
dkocher at sudo.ch
Wed Oct 10 02:35:48 PDT 2012
This issue is being discussed in http://java.net/jira/browse/MACOSX_PORT-165. I will attach a test case again for the non believers.
-- David
On 10.10.2012, at 10:53, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 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