Abhishek Karande
Abhishek Karande

Reputation: 387

German characters display in TextView

In my Android application I am trying to display German Text. ö ä ü ß those characters are unable to display in TextView. If anyone having idea how to set font or how to display characters let me know. The Data I am receiving from services.

Upvotes: 1

Views: 3951

Answers (2)

Abhishek Karande
Abhishek Karande

Reputation: 387

My problem solved I add

DocumentBuilder db = dbf.newDocumentBuilder(); ByteArrayInputStream bis = new ByteArrayInputStream(xml.getBytes("UTF-8")); doc = db.parse(bis); in my code in xml reader so now I can display german characters properly...

Upvotes: 0

Related Questions