On Sep 30, 2004, at 4:48 PM, Daniel Mischler wrote:
Hello
I hope this hasn't been covered too often but I couldn't find it in the digests and the docu :-)
How can I handle file names and path names with Java (Cocoa) that contain umlauts?
I need to work with all mounted volumes and it shouldn't choke on special characters.
So far I just get 'a?' instead 'รค' if I use it from e.g. new File("/Volumes").listFiles();.
It looks like you're getting back a filename string in UTF-8, which is the encoding for filenames on Mac OS X. Have you tried to create a FileInputStream and open the file with the name you are concerned about? It should be fine.
</x-tad-smaller>We want your bug reports - submit them at <http://bugreport.apple.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
This email sent to email@hidden