Thanks Jason and Martin,
i solved it using following steps:
* struts-config.xml:
* adding the charset in HTML to ISO-8859-1
* adding-Dfile.encoding=ISO-8859-1 to Tomcats CATALINA_OPTS
My Database is still in UNICODE (Postgres).
Now it works, i am happy and my customer too.
Bye Bart
--
Looks like the filename is being sent as utf-8, but being read as Latin1
(can't remember the iso number).
Struts uses Commons FileUpload to handle the file uploads. By default
it uses org.apache.struts.upload.CommonsMultipartRequestHandler
Now Commons FileUpload has a method called setHeader
2 matches
Mail list logo