user3405827
user3405827

Reputation: 11

how to show Special Characters when parsing xml file in Android

I have an xml file and when parsing it, Special Characters like \uFD3F are shown as it is, not as represented symbol, TextView and Strings.xml shows it correctlly can anyone help me with this prblem? thanks

Upvotes: 0

Views: 51

Answers (1)

user3405827
user3405827

Reputation: 11

I found a way to add Special Characters to xml file by using &#x+ hex code+; for example:"&#xae" for ®

or &# Decimal Code+; for example: "&#174" for ®

Upvotes: 1

Related Questions