cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leo leonid <>
Subject multipart/form-data and UTF-8
Date Thu, 17 Jul 2003 19:42:28 GMT
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" 
		<input type="file" name="uploaded_file"/>
		<input name="image_title" type="text" size="100"/>
		<input type="submit" value="submit"/>

and an xsp collecting the data:

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

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) ?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message