Have you try this? (description is text to display)

TextViewtv = (TextView) findViewById(R.id.description);
tv.setText(Html.fromHtml(description).toString());

On 20 oct, 16:49, qmwestview <qmwestv...@googlemail.com> wrote:
> My server side is using Struts (2.1.7). Strangely, the jsp, using
> struts tags, usually outputs ideally encoded message which can be
> displayed by Android’s TextView. Only when it comes to using struts’
> “iterator” tag, then decimal unicode are sent to the client, which is
> fine for browser, but causing problem for Android’s TextView.
>
> To transfer the decimal Unicode into hexadecimal one is rather
> straight forward on the phone side, but this incurs the performance
> drop.
>
> A painful decision to take may be to change the server technology from
> Struts to Spring, hoping Spring is better than Struts, while Spring
> may bring other benefit.

--~--~---------~--~----~------------~-------~--~----~
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