Maurizio, thanks for your suggestion. With your mail I have found the solution.
On Sun, Nov 13, 2011 at 6:31 PM, Maurizio Cucchiara <mcucchi...@apache.org> wrote: > <constant name="struts.i18n.encoding" value="UTF-8"/> (struts.xml) had not effect - it seem it was enabled already > <parser content-type="text/html;charset=UTF-8" > class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" /> > (sitemesh.xml) This killed everything - layout gone :-) I needed to remove the charset you put into content type (and used an attribute called "encoding"). But didn't help But then I thought about this: <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> This was only in my decorator jsp page. But sitemesh expects this to be in every jsp page. I fixed it on some pages already and it seem to help. Cheers Christian > I usually start from a very simple example, then go ahead (does your > data display correctly without SM?). > How did you import your data inside mysql? > > Ensure that your data was encoded correctly inside the DB itself: > select hex(field) from Table where condition; > As last option you can even consider a Character Encoding Servlet > Filter, but to be frank I never felt the need to use it. > > Twitter :http://www.twitter.com/m_cucchiara > G+ :https://plus.google.com/107903711540963855921 > Linkedin :http://www.linkedin.com/in/mauriziocucchiara > > Maurizio Cucchiara > > > > On 13 November 2011 17:35, Christian Grobmeier <grobme...@gmail.com> wrote: >> Hi guys, >> >> I am searching for a utf-8 problem in my app. I have struts 2 with >> sitemesh 2.x bundled. backoffice is apache cayenne which connects to >> mysql with: >> &useUnicode=true&characterEncoding=utf8 >> >> Now I suspect sitemesh somehow. Any ideas were I could look appreciated >> >> Is sitemesh still recommended btw? 2.x version is pretty old and 3.x >> is in alpha for quite a while. >> >> Cheers >> Christian >> >> -- >> http://www.grobmeier.de >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- http://www.grobmeier.de --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org