Android getXmlFromUrl encoding to utf8

Urgexberlax

New Member
i have url xml encoded to UTF-8but when i try to load the xml from url and display it as a list it's cannot show the character properlyXML \[code\] <?xml version="1.0" encoding="utf-8"?><music><song><id>179</id><title>?????</title><artist>?? ??? ????? ?? ??????? ??????</artist><duration></duration><thumb_url></thumb_url></song><song><id>187</id><title>???????? 187</title><artist>? ??????? ??????? ?????????? ????? ? ???? ???? ??? ????</artist><duration></duration><thumb_url></thumb_url></song><song></music>\[/code\]Code:\[code\] XMLParser parser = new XMLParser(); String xml = parser.getXmlFromUrl(URL); Document doc = parser.getDomElement(xml);\[/code\]
 
Back
Top