I had the same problem as well (but using JBOSS).. it is still pending.. temporary workaround was creating a Filter (javax.servlet.Filter ) which sets encoding to every response.. but in near future I need to do it on some smarter way:) Hope somebody will answer this question,
cheers agata On Nov 26, 4:28 pm, Ronaldo Rigoni <rrig...@gmail.com> wrote: > Hello all, > I'm running my GWT application with Glassfish V2 application server. > There's a big problem with encoding, Glassfish is configured all with > UTF-8, the RPC call is UTF-8 too, but, when the GWT recieve the > response, the encoding is broken, specialy text with HTML format. > The main Gwt HTML file is with UTF-8 encoding too, and the meta tag. > Some GWT request header is follows: > > Why the Accept-Charset is requested with ISO? > The data I'm sending is "<p> educação saúde alimentação</p>" > When this text return to the client returns like this "<p>\n\teducação > saúde alimentação</p>" > Of course is correct, but when I try to set in a textArea the text > turns crazy "educação saúde alimentação" > > Any suggestion? > > =============================== > Host 127.0.0.1:8888 > User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/ > 20101013 Ubuntu/10.04 (lucid) Firefox/3.6.11 > Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language en-us,en;q=0.5 > Accept-Encoding gzip,deflate > Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 > Keep-Alive 115 > Connection keep-alive > X-GWT-Permutation HostedMode > X-GWT-Module-Base http://127.0.0.1:8888/ferramentaaulagwt/ > Content-Type text/x-gwt-rpc; charset=utf-8 > Refererhttp://127.0.0.1:8888/ferramentaaulagwt/hosted.html?ferramentaaulagwt > Content-Length 1331 > Cookie JSESSIONID=1gmpreaoyhwf8; > FA_TIPO_AULA_PREVIAMENTE_CRIADA=EDITAR; > FA_ID_AULA_PREVIAMENTE_CRIADA=24302 > Pragma no-cache > Cache-Control no-cache -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.