Did you try to change file encoding? I think it could help.
2008/12/24 malikbster <[email protected]>
>
> Hi, im new to GWT and im having problems in displaying non-english
> characters. For example, im creating this menu bar and one of its
> items' name has the spanish accent symbol over the "o" letter:
>
> menu.addItem("Presentación", menuPresentacion);
>
> The "ó" is displayed like a weird question mark inside a box when i
> compile the project and load the html into firefox.
>
> So what i do next is adding a "meta" statement into the html file that
> is being load into the project.
>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
>
> This doesnt work either, get the same result. So next I try to convert
> inside the java code every string into UTF-8 charset using URL
> methods:
>
> menu.addItem(URL.encode("Presentación"), menuPresentacion);
>
> And now firefox shows it like this:
>
> Presentaci%EF%BF%BDn
>
> I also tried writting the strings inside the java code using HTML
> notation for special characters:
>
> menu.addItem("Presentación", menuPresentacion);
>
> Doesnt work either.What is wrong whith this?
>
> Thanks in advance.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---