J
Jim Pete
I have a problem with the following piece of code:
FileWriter o = new FileWriter(new File("foo"));
o.write((char)140);
o.close();
FileReader f = new FileReader(certFile);
BufferedReader in = new BufferedReader(f);
String tmp = in.readLine();
When I read tmp the charachter changed to the value 63 rather than 140.
How can I fix this?
Thank you.
FileWriter o = new FileWriter(new File("foo"));
o.write((char)140);
o.close();
FileReader f = new FileReader(certFile);
BufferedReader in = new BufferedReader(f);
String tmp = in.readLine();
When I read tmp the charachter changed to the value 63 rather than 140.
How can I fix this?
Thank you.