Showing posts with label Version. Show all posts
Showing posts with label Version. Show all posts

Java Encoding XML

 Java Encoding XML


InputSource isc = new InputSource(new StringReader(content));
isc.setEncoding("ISO-8859-1");

put this line on xml file.

<?xml version="1.0" encoding="ISO-8859-1"?>