<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.14">
<TITLE>Re: [Seaside] multipart forms and non-ascii characters</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>WebToolkit or Swazoo version?<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: seaside@lists.squeakfoundation.org &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Tue Feb 20 08:32:50 2007<BR>
Subject: [Seaside] multipart forms and non-ascii characters<BR>
<BR>
Hi all,<BR>
&nbsp; I have a problem with multipart form fields and non-ascii characters.<BR>
&nbsp; The form looks like:<BR>
<BR>
&nbsp; html form<BR>
&nbsp;&nbsp;&nbsp; multipart;<BR>
&nbsp;&nbsp;&nbsp; with: [<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html textInput .........<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html textArea .........<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html fileUpload .......<BR>
&nbsp;&nbsp; ].<BR>
<BR>
If the user entered any non-ascii string into the textInput or textArea, I get the string in 16bits (sounds like utf-16) and not the usual smalltalk representation. I am using VW7.5 (vw-dev beta version) which has pretty much the latest seaside ported and beside this, I have no problems with it.<BR>
&nbsp;The problem is with #multipart. If I comment out &quot;multipart&quot;, non-ascii strings work right (but obviously file upload does not).<BR>
<BR>
&nbsp;&nbsp; Thanks a lot!<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Petr Stepanek<BR>
<BR>
&nbsp;<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>