On 07/oct/09, at 13:25, Dennis Dam wrote:
Hi,
I'm running into some problems with encoding in Hippo CMS 6 app
deployed in
Tomcat (6.0.18). I have the following encoding configuration:
1. added system property -Dfile.encoding=UTF-8 to catalina.sh
2. added URIEncoding=utf-8 to the 8080 connector in conf/server.xml
3. the container-encoding init parameter for the Cocoon servlet is
set to
"ISO-8859-1".
4. the form-encoding init parameter for the Cocoon servlet is set to
"utf-8"
afaics, that's all that I can configure as far as encoding goes. Are
these
settings correct? My problem is that special character form
parameters that
are posted with GET are not shown correctly.
In my experience, form parameters get well (UTF-8) encoded in Cocoon
only if you specify:
<form action="XXXXX" accept-charset="UTF-8" enctype="multipart/form-
data">
Cheers.
--
Francesco Chicchiriccò
Delivery Manager
everett Italia ▸
TRUSTED TO KNOW
Head Office
Via Torino, 2 - 20123 Milano - Italia
Tel:
+39 02 72546847
Fax:
+39 02 72546418
Technology Centre
Via Federico Fellini, 2 G2/1 - 65010 Spoltore (PE) - Italia
Tel:
+39 085 2120342 / +39 085 2120537
Fax:
+39 085 2120342 / +39 085 2120537
Mob:
+39 329 0573276
e-mail:
[email protected]
Web:
http://www.everett.it
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html