Hi I am trying to fetch this xml response
<?xml version="1.0" encoding="utf-8"?>
<desc c="¥99"/>
but on my Android each time I get Â¥99 ,after parsing the xml, instead of correct data(i.e.¥99).Is there any way to parse this Currency data correctly.Please correct me if I am missing something. EDIT:Here is the code that is used to get xml
docBuilder = docBuilderFactory.newDocumentBuilder ();
InputSource is = new InputSource ();
is.setEncoding ("UTF-8");
Document doc = null;
is.setCharacterStream (new StringReader (xmlStr));
doc = docBuilder.parse (is);
if (doc != null)
{
doc.getDocumentElement ().normalize ();
NodeList detail = doc.getElementsByTagName ("desc");
String c = detail.item (0).getAttributes ().getNamedItem ("c").getNodeValue ();
}