A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to set encoding to utf-8 ?
Joined: May 19, 2009
May 19, 2009 04:57:39
on my index.xhtml I've got a <a4j:form> with a <rich:suggestionbox>.
This suggestionbox must show texts in utf-8, but it doesn't.
The suggestionbean works fine, logging tells me that the strings are fetched correctly (db is utf8, xml unmarshalling with castor is utf8)
So I started my journey
1) the xhtml file is utf8 (thanks to eclipse)
2) the xhtml header is utf8:
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
3) in the server.xml everything is set to utf8:
<Connector ... URIEncoding="UTF-8" useBodyEncodingForURI="true" />
4) in web.xml there is a filter defined that does this:
can you please help me on this?
Have you checked out
subject: How to set encoding to utf-8 ?
insert chinese language to mysql db
How to Set Character Encodeing in JSP
UTF8 issue on solaris
utf8 to unicode..from browser to oracle db
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015