This content has been marked as final.
Show 6 replies
-
1. Re: Problem with non-ansi characters getting escaping recursively
pete007 Mar 12, 2008 9:17 PM (in response to pete007)I have now found this forum post, which seems to be similar to my problem.
I think the main clue is to add this line somewhere for all requests:
req.setCharacterEncoding("UTF-8");
Can you please tell me, in which way this can be done in seam, so I can check if it solves my problem too?
-
2. Re: Problem with non-ansi characters getting escaping recursively
goldmann.marek.goldmann.pl Mar 12, 2008 9:38 PM (in response to pete007)So, as this is my first post on this forum - welcome everyone! :)
Peter M. wrote on Mar 12, 2008 09:17 PM:
Can you please tell me, in which way this can be done in seam, so I can check if it solves my problem too?Please consider using a character encoding filter and also changing $JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml configuration from
<Connector port="8080" address="${jboss.bind.address}" maxThreads="250" maxHttpHeaderSize="8192" emptySessionPath="true" protocol="HTTP/1.1" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
to
<Connector port="8080" address="${jboss.bind.address}" maxThreads="250" maxHttpHeaderSize="8192" emptySessionPath="true" protocol="HTTP/1.1" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8" />
Hope this helps!
-
3. Re: Problem with non-ansi characters getting escaping recursively
pete007 Mar 12, 2008 9:39 PM (in response to pete007)Oh, damn it ..
server.xml:
<Connector ... useBodyEncodingForURI="true" />
Half day gone for searching one parameter .. ;)
-
4. Re: Problem with non-ansi characters getting escaping recursively
pete007 Mar 12, 2008 9:44 PM (in response to pete007)Hi Mark,
I am sure that you've just waited until I find the solution and then posted it a minute faster. ;))
Thanks and welcome, Pete
-
5. Re: Problem with non-ansi characters getting escaping recursively
pete007 Mar 12, 2008 9:45 PM (in response to pete007)Sorry, hi Marek!
-
6. Re: Problem with non-ansi characters getting escaping recursively
goldmann.marek.goldmann.pl Mar 12, 2008 9:50 PM (in response to pete007)No problem :)