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 Referer http://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 [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.
