cjn
unread,Sep 6, 2011, 4:34:03 PM9/6/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SiteMesh 2 Users, ch...@nappin.com
Hi All,
I'm using SiteMesh 2.4.2 with Spring WebFlow on WebLogic 10.3.2 with
Java 6, and am really struggling to get Unicode characters to display
properly. If I disable the sitemesh filter then the characters are
displayed ok, so the issue appears to be specific to SiteMesh.
After googling at length and reading through the sitemesh docs, I've
followed these steps:
- all JSPs (original pages and decorator) use UTF-8 encoding and
content type of "text/html; charset=UTF-8"
- added the Spring CharacterEncodingFilter (encoding = UTF-8,
forceEncoding = true) before which calls response.setEncoding(..) -
and I've also tried my own filter which calls
response.setContentType("text/html; charset=UTF-8") too
- set an explicit contentType for my Spring View Resolver (again "text/
html; charset=UTF-8") - not sure this step actually made a difference
However any non-standard characters (e.g. certain welsh characters) in
my pages, when decorated by SiteMeshl, get mangled.
I can see lots of folks have previously hit this, without success. I'm
also not sure how active this group is. Any help gratefully received!
Cheers,
cjn