<!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 <seaside-bounces@lists.squeakfoundation.org><BR>
To: seaside@lists.squeakfoundation.org <seaside@lists.squeakfoundation.org><BR>
Sent: Tue Feb 20 08:32:50 2007<BR>
Subject: [Seaside] multipart forms and non-ascii characters<BR>
<BR>
Hi all,<BR>
I have a problem with multipart form fields and non-ascii characters.<BR>
The form looks like:<BR>
<BR>
html form<BR>
multipart;<BR>
with: [<BR>
html textInput .........<BR>
html textArea .........<BR>
html fileUpload .......<BR>
].<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>
The problem is with #multipart. If I comment out "multipart", non-ascii strings work right (but obviously file upload does not).<BR>
<BR>
Thanks a lot!<BR>
Petr Stepanek<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>