Hi,
I've got a form where the user may upload an image as well as providing a title for the image:


<form action="list-image.html" method="POST" enctype="multipart/form-data">
<input type="file" name="uploaded_file"/>
<input name="image_title" type="text" size="100"/>
<input type="submit" value="submit"/>
</form>


and an xsp collecting the data:

<xsp:logic>
image_title = <xsp-request:get-parameter name="image_title" as="string" form-encoding="UTF-8"/>;
</xsp:logic>


Everything works perfect, as long as the image's title is in English. But I need to get UTF-8 data.
enctype="multipart/form-data" prevents this from working. Does anybody know a solution for this problem (other than splitting the form in two forms) ?


Thanks
/leo


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



Reply via email to