ListView Parsing Persian, Greek, Arabic or UTF-8 xml?

The reader that you use to read the Xml values is probably not set to UTF-8 and that's why causing encoding problem.

I could find the answer. Thanks from @Serdak. He made me think of reader.

In getXMLFromUrl part I should have changed: xml = EntityUtils. ToString(httpEntity); to xml = EntityUtils. ToString(httpEntity, "UTF-8"); and in getDomElement part I should change:InputSource is = new InputSource(); is.

SetCharacterStream(new StringReader(xml)); to InputSource is = new InputSource(new ByteArrayInputStream(xml. GetBytes("UTF-8"))); Please note that "url" and "xml" are both Strings which are called by main activity and are used in XMLparser. Jave (which contains both getXmlFromUrl() and getDomElement() ).

These commands are in main activity:XMLParser parser = new XMLParser(); String xml = parser. GetXmlFromUrl(URL) ;Document doc = parser. GetDomElement(xml); Best regards.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions