Is the text being ommited when it is being sent from your webservice or are
you getting the full correct text back to android then android
is omitting stuff?

On Mon, Feb 1, 2010 at 1:51 PM, Bob Kerns <[email protected]> wrote:

> 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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Reply via email to