multipart forms and non-ascii characters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

multipart forms and non-ascii characters

Petr Štěpánek-2
Hi all,
  I have a problem with multipart form fields and non-ascii characters.
  The form looks like:
 
  html form
    multipart;
    with: [
       html textInput .........
       html textArea .........
       html fileUpload .......
   ].
 
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.
 The problem is with #multipart. If I comment out "multipart", non-ascii strings work right (but obviously file upload does not).
 
   Thanks a lot!
      Petr Stepanek
 
 
 

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: multipart forms and non-ascii characters

Boris Popov, DeepCove Labs (SNN)
Re: [Seaside] multipart forms and non-ascii characters

WebToolkit or Swazoo version?

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Tue Feb 20 08:32:50 2007
Subject: [Seaside] multipart forms and non-ascii characters

Hi all,
  I have a problem with multipart form fields and non-ascii characters.
  The form looks like:

  html form
    multipart;
    with: [
       html textInput .........
       html textArea .........
       html fileUpload .......
   ].

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.
 The problem is with #multipart. If I comment out "multipart", non-ascii strings work right (but obviously file upload does not).

   Thanks a lot!
      Petr Stepanek

 


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: multipart forms and non-ascii characters

Petr Štěpánek-2
Boris,
 it's Swazoo (psql_public_cst(1.0,mivsek)*). Sorry, I forgot to mention that ...


  Petr


On 2/20/07, Boris Popov <[hidden email]> wrote:

WebToolkit or Swazoo version?

Cheers!

-Boris
(Sent from a BlackBerry)



----- Original Message -----
From: [hidden email] <[hidden email]>
To: [hidden email] <[hidden email]>
Sent: Tue Feb 20 08:32:50 2007
Subject: [Seaside] multipart forms and non-ascii characters

Hi all,
  I have a problem with multipart form fields and non-ascii characters.
  The form looks like:

  html form
    multipart;
    with: [
       html textInput .........
       html textArea .........
       html fileUpload .......
   ].

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.
 The problem is with #multipart. If I comment out "multipart", non-ascii strings work right (but obviously file upload does not).

   Thanks a lot!
      Petr Stepanek

 


_______________________________________________
Seaside mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside