[Advanced-java] Files with scandic letters in their names

Jukka Sundberg jukka at citrus.fi
Tue Jul 8 10:57:31 2003


Hi,

Java doesn't seem to recognize files with scandic letters in their 
names, e.g.

File file = new File("c:\\projects\\test\\ääääööö.txt");
if (file.isFile() == false) {
	System.out.println("THIS IS NOT FILE");
}

Outcome is always "THIS IS NOT FILE".

But if rename the file as "aaaaooo.txt" everything works fine.

Does anyone know how to fix this.

Jukka