On Fri, 2003-06-06 at 23:59, morten svanęs wrote: > ----- Original Message ----- > From: "morten svanęs" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 06, 2003 2:53 PM > Subject: Re: Encoding problems in flowscript > > > > > > ----- Original Message ----- > > From: "Bruno Dumon" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, June 06, 2003 5:37 AM > > Subject: Re: Encoding problems in flowscript > > > > > > > On Fri, 2003-06-06 at 22:56, morten svanęs wrote: > > > > Hi, > > > > I'm having trouble with the enconding in a flowscript, when > > > > I submit data in a form it gets escaped internaly in the flow > > > > script, so if I try to get back data that has some norwegian > > > > characters in them they get misinterpreted. All my documents > > > > have UTF-8 enconding and headers, my serialzers in the > > > > sitemap also have encoding parameters set to UTF-8. > > > > My modeldata is correctly inserted into the forms, but as > > > > soon as I submit the norwegian characters are misinterpred. > > > > > Have you enabled the form-encoding parameter in the web.xml? > > > No, but have I tried it now and it did'nt make any difference. > > Hi again, now it works ! What I did first after your answer was > to set both <container-encoding> and <form-encoding> to utf-8 > this did not make any difference but when I commented out > <container-encoding> so that just <form-encoding> was set it > worked ! I should have done only what you said :)
Indeed :-) I was too lazy to type in that you shouldn't enable that one (or if you do, it should be ISO-8859-1, because that's what it really is, except in broken servlet containers). -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]