User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Hi,
I create a new file on Mac OS X 10.4.2 with umlauts, e.g.
new File("/dir/testäöü.txt").createNewFile();
The umlauts map to following bytes: ä=0xE4, ö=0xF6, ü=0xFC.
Now I read the directory content with
String[] fileNames = new File("/dir").list();
The curious thing is, that now the file name looks similar, but has a
different byte representation: ä=0x61 0x308, ö=0x6F 0x308, ü=0x75 0x308.
Is this a bug in Mac OS X' file system or a bug in Mac OS X' Java
implementation? Does someone knows, how to work around this problem (except
not using file names with umlauts)? Thanks in advance.
--
Best regards,
Thomas Singer
_____________
smartcvs.com
smartsvn.com
_______________________________________________
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