Hi,
I am trying to write japanese character in text file (actually trying to create a shell file), to execute some exe placed at that location.
Please help me with this, i need some solution very urgently.
fyi, i am using this code to read unicode character from another file.
String triggerFilePath = "/" + "BuildCopy" + File.separator + "Trigger.tx t";
//http://bytes.com/groups/java/16986-how-specify-encoding-java
InputStream is = new BufferedInputSt ream(new FileInputStream (triggerFilePat h));
Reader reader = new InputStreamRead er(is, "UTF-8");
BufferedReader dataFile= new BufferedReader( reader);
String currentRecord = dataFile.readLi ne();
thanks in advance,
Rahul
I am trying to write japanese character in text file (actually trying to create a shell file), to execute some exe placed at that location.
Please help me with this, i need some solution very urgently.
fyi, i am using this code to read unicode character from another file.
String triggerFilePath = "/" + "BuildCopy" + File.separator + "Trigger.tx t";
//http://bytes.com/groups/java/16986-how-specify-encoding-java
InputStream is = new BufferedInputSt ream(new FileInputStream (triggerFilePat h));
Reader reader = new InputStreamRead er(is, "UTF-8");
BufferedReader dataFile= new BufferedReader( reader);
String currentRecord = dataFile.readLi ne();
thanks in advance,
Rahul
Comment