On 4 nov, 10:34, Anurag Setia <[email protected]> wrote:
> I am trying to set some unicode text to display some unicode supported
> language text in a textbox and a textarea. I am using the decimal
> representations used by HTML for the same purpose in the format
> &#1111;
>
> The same gets display if I use this data in a JSP and shows up in the
> text box, however, when I am setting it through GWT i.e. setText or
> setValue, i see the decimal representation in the page.
>
> Any clue...

setText and setValue takes text, not HTML. The fact that it works in
your JSP is because you're putting the value within the HTML that'll
be parsed by the browser when loading the page; it's not using
JavaScript.

Just use \u1111 or the actual character you want to display (you're
using UTF-8, which is able to encode any Unicode code-point, so it
shouldn't be a problem).


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to