Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java JFileChooser unable to detect foreign languages

In my application, the user chooses a file for which JFileChooser is used. It so happens that if the folder name is in some other language, then it doesn't detect that folder.

For example: On the desktop, if the folder name is spillet sitt på er helt (norweigian), then all the folders are displayed by the JFileChooser apart from the above folder mentioned. How do I deal with this issue?

PS: It turns out that this issue is only on Mac. Works well on windows.

like image 678
Jatin Avatar asked Nov 19 '25 23:11

Jatin


1 Answers

It is a known issue (find here the bug status report).

It seems it has been eventually fixed in 7u10, 7u11 and 7u12+ updates.

For these updates haven't been oficially released, if you can't wait, you can download the Developers Review Releases at java.net.

like image 191
Tomas Narros Avatar answered Nov 22 '25 13:11

Tomas Narros



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!