Hi!

I know this question was asked a month ago, but the thread ended without 
a real solution to the problem.

The problem in short:
Form data with special chars (i. e. german umlauts) is not encoded 
correctly in the FormValidatorAction.

The suggested solutions were:

1) set UNIX: LOCALE=...

2) set JVM -Dfile.encoding option

3) set request.setCharacterEncoding("utf-8")

I think 1 and 2 are more than dirty hacks, and they don't work for me.

3 also didn't work. I guess it's quite clear because it should be executed before any 
request parameter are read.

In the sitemap examples (which I used for my tests) the FormValidatorAction is 
processed befor any of my xml/xsp files were touched.

I guess the best solution is a parameter passed to the FormValidatorAction which 
specifies the encoding type of the form data.

Or has anyone a working solution for this?

Thanks,
Gerhard



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to