Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Thomas Singer
We had similar problems and by changing to in the /conf/server.xml fixed the problem. Tom Johan Compagner wrote: > Did you configure tomcat correctly for utf 8? > Search this list for the right settings > > On 30/01/2009, Philipp Daumke wrote: >> Hi all, >> >> when I enter German umlau

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Philipp Daumke
Hi Jonas, hi Johann, grrh, I forgot to set URIEncoding="UTF-8". Now it works, thank you for your help. All the best Philipp Hi Philipp, yes, thats correct. We had similar problems and fixed it that way, but maybe something else is still not set to UTF-8. I assume you have configured your t

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Jonas
Hi Philipp, yes, thats correct. We had similar problems and fixed it that way, but maybe something else is still not set to UTF-8. I assume you have configured your tomcat connector using URIEncoding="UTF-8" (I think that is what Johan is referring to?). Have you tried adding a meta tag to your m

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Johan Compagner
no i mean Tomcat settings not wicket settings search for "tomcat utf uri encoding" in google On Fri, Jan 30, 2009 at 09:11, Philipp Daumke wrote: > Hi Jonas, > > thanks for your help, but I think it doesn't help. Just to make sure that I > understood the Application#init correctly, you meant to

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Philipp Daumke
Hi Jonas, thanks for your help, but I think it doesn't help. Just to make sure that I understood the Application#init correctly, you meant to do it like this, right(?): public class MyApp extends WebApplication { public void init() { getRequestCycleSettings().setResponseReque

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Johan Compagner
Did you configure tomcat correctly for utf 8? Search this list for the right settings On 30/01/2009, Philipp Daumke wrote: > Hi all, > > when I enter German umlauts (e.g. "äöü") in a wicket text field it's > converted to "äöü". Everything seems to be in "UTF-8". I already > tried to apply a fi

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Jonas
Hi, have you tried setting getRequestCycleSettings().setResponseRequestEncoding("UTF-8"); getMarkupSettings().setDefaultMarkupEncoding("UTF-8"); in your Application#init If you don't set the default markup encoding explicitly, the default for it is the 'os provided encoding' (see: IMarkupSettin

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Marc Ende
Hi Philipp, are your texts are stored in a database? Then you've got two more points where you can search: The encoding of the table and the encoding of the connection. Do you've got the same issues with the templates? Marc Philipp Daumke schrieb: Hi Mathias, 'äöü' is actually already conve

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Philipp Daumke
Hi Mathias, 'äöü' is actually already converted to 'äöü' when I add a breakpoint at the onSubmit method of my form (so right when I get the input of the text field from my model). My whole eclipse is in UTF-8, Wicket writes UTF-8 to each HTML-Page, my firefox says UTF-8. What I think is t

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Mathias P.W Nilsson
Do you save it to a database and then display the text? How do you present it? -- View this message in context: http://www.nabble.com/UTF-8-bug-in-wicket--Or-in-Tomcat--tp21738467p21738754.html Sent from the Wicket - User mailing list archive at Nabble.com

UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Philipp Daumke
Hi all, when I enter German umlauts (e.g. "äöü") in a wicket text field it's converted to "äöü". Everything seems to be in "UTF-8". I already tried to apply a filter as described in http://wiki.apache.org/tomcat/Tomcat/UTF-8 without success. Any ideas? Thanks for your help Philipp -- Ave