Re: Setting Unicode text in Text Box and Text Area
On 5 nov, 11:51, Anurag Setia <anurag.se...@gmail.com> wrote:
> Guys,
>
> Just an update for anyone interested.
>
> After a bit of fiddling... the setInnerHTML works with a TextArea.
>
> It wouldnt work for TextBox for it being an atomic tag.
> Element.setAttribute("value",..) does set the value but doesnt seem to
> handle Unicode.
It *does* handle Unicode, just not when using HTML's character
references (because it's not parsing HTML):
textBox.setValue("résum\u00E9");
or
textBox.setValue("raw ї and using Java escape \u0457");
Your issue might be related to how and where you get that value from.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home