Paul van Beukering wrote:
>    Have a problem with enctype forms
>    In a form, with enctype="multipart/form-data" I upload multiple files and
>    text variables.
>    The problem is the character encoding. Characters outside the ascii range
>    become '?'  
>    Anybody familiar with an enctype supporting both needs?

The issue is rather complicated. IIUC, you should assume that the characters are 
received encoded
according to the same encoding as the page which did the post.

You could also use the CharacterEncodingFilter to add a encoding to the request, but I 
don' think it
is essential.

You might also be hit by bug #6569, but I have not the faintest idea how your 
implementation does
look like.

You should take a look at e.g. the 'basic' jsp editors, which IIRC also post 
multipart/form-data and
using them it should work fine. If that does work, I suggest you imitate them..

Anyhow, the problem is not the 'enctype'.


Michiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to