Pid wrote:
On 1/3/11 7:17 AM, André Warnier wrote:
Try the following : in your <form> tag, add the attribute

enctype="multipart/form-data"

and try again.

Is it possible to include charset attribute?

 enctype="multipart/form-data;charset=UTF-8"


I don't think so.
You can specify

acceptCharset="xxx"

but that only determines what kind of input the form should accept.
Unfortunately, nothing "forces" the browser to send a charset indication for 
what it sends.
It should always do that when there is a body, but most browsers don't.
It's a real pita.
Even for multipart/form-data, they don't provide it in the parts, usually.
This whole area is full of holes, which is why you may need things like URIencoding and the charset filter.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to