How are you parsing the XML? It's the XML parser's job to understand
this stuff, not yours.

If you're taking the XML as text and trying to understand it -- don't.

For example, DOM gives you getData() on a Text node, SAX informs you
via a characters(...) method call, and XMLPull offers you getText().
Similar options apply if the text appears in an attribute.

However, I'm puzzled that you say the characters are "either omitted
or...". I don't know who'd be omitting them. I'd be concerned that you
have a font problem where it's not displaying that character. I'd be
surprised at this for any of the system-supplied fonts for a European
language, but for other fonts, it'd not be unusual to find one that
only supports ISO 8859-1, for example, which does not include this
character (though it's in ISO-8859-15).

On Jan 30, 7:03 am, Marko Anastasov <marko.anasta...@gmail.com> wrote:
> Hello,
>
> I'm fetching some data from my web API that returns XML with content
> which includes escaped unicode characters. So there is content such as
> "Izlo&#382;ba" which I need to display in a TextView as word
> "Izložba". How can I do this? Right now these characters are either
> ommitted or displayed as that raw escaped value.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to