My problem is I have written a code in java to read some japanese chars and write into XML file. The program works fine when i am using eclipse with JRE 1.5 and 1.6 but when i created a *.jar file and run the same program standalone, the output i am getting some junk chracters. Can anybody please help me out? Thanks in advance!!! My problem is I have written a code in java to