Create and Read Files with name including special characters (ñ, ü, é,)
Create and Read File Called ÑÜÍ.arc
Cordial Greetings:
How you can see the filename have a ñ (n with tilde, u with diaresis, etc )
I need create a file with the method.
String defDir = "/home/cepagi/Documents/"; //for Linux case
String defDir = "c:\\cepagi\Documents"; //for Windows case
String MyFileName = "ÑÜÍ.arc";
File file2 = new File(defDir+MyFileName);
o
FileOutputStream MyFileOutputStream = new FileOutputStream(defDir+MyFileName);
Later of created make a reference to he..
out.println("<a href=\""+defDir+MyFileName+"\">"+defDir+MyFileName +"</a><P>");
The problem is that my file is called"??????.arc" and can't no to access it.
__________________
Jose Luis Bernal Zambrano