how to write special characters(interpunct) in a xml file in java?

arocaparoz

New Member
I have a problem in writing a xml file with UTF-8 in JAVA.Problem: I have a file with filename having an interpunct(middot)(·) in it. When im trying to write the filename inside a xml tag, using java code i get some junk number like  in filename instead of ·OutputStreamWriter osw =new OutputStreamWriter(file_output_stream,"UTF8");Above is the java code i used to write the xmlfile. Can anybody tell me why to understand and sort the problem ? thanks in advance
 
Back
Top