I'm a little confused about that. Running this two lines of code: File file = new File("täst.txt"); file.createNewFile();
from Netbeans 7.2.1, JDK 1.7.0_15 on OSX 10.8.2 will result in a file named: "t?est.txt"
But running the same with JDK 1.6.0 will create "täst.txt".
I've set everthing (I hope so) to UTF-8 and System.out.println(Charset.defaultCharset());
prints out UTF-8.
Anything wrong with Java 7 on Mac?
That's right. And they might have missed something with the decomposed UTF-8 file handling of apples HFS Plus filesystem.
But I'm still not able to fix this problem nor find a workaround.
Besides all the other problems with Java7 on the Mac, this one really prevents publishing my software with Java7.