Re: Problem with encoding non-english request parameters

2002-03-12 Thread Torsten Curdt
IIRC changing the encoding of the *serializer* has solved this problem for us. Because then the POST will come with the right encoding set. My 2 cents -- Torsten - Please check that your question has not already been answer

Re: Problem with encoding non-english request parameters-thanx

2002-03-12 Thread yuryx
> > > >I don't quite understand what do you mean. >Yes, you can change your request character set: > > >setCharacterEncoding(String) >public void setCharacterEncoding(java.lang.String env) >throws UnsupportedEncodingException > >Overrides the name of the character encoding used in

Re: Problem with encoding non-english request parameters

2002-03-12 Thread Piroumian, Konstantin
> > >>Is serializer serialized request also? (this stupid question may be...) > >> > > > >Do you need to set encoding on the coming request? This can be done with an > >action. > > > Yes, in action or use form-encoding attribute (in XSP page with use > logicsheet),or use manual encoding > li

Re: Problem with encoding non-english request parameters

2002-03-12 Thread yuryx
Piroumian, Konstantin wrote: >>Piroumian, Konstantin wrote: >> On Mon, 11 Mar 2002 18:32:26 +0300 yuryx <[EMAIL PROTECTED]> wrote: >Vadim Gritsenko wrote: > >>RTFM >>http://xml.apache.org/cocoon/userdocs/xsp/request.html: >>8<--

Re: Problem with encoding non-english request parameters

2002-03-11 Thread Piroumian, Konstantin
> Piroumian, Konstantin wrote: > > >>On Mon, 11 Mar 2002 18:32:26 +0300 > >>yuryx <[EMAIL PROTECTED]> wrote: > >> > >>>Vadim Gritsenko wrote: > >>> > RTFM > http://xml.apache.org/cocoon/userdocs/xsp/request.html: > 8< > 8<

Re: Problem with encoding non-english request parameters

2002-03-11 Thread yuryx
Piroumian, Konstantin wrote: >>On Mon, 11 Mar 2002 18:32:26 +0300 >>yuryx <[EMAIL PROTECTED]> wrote: >> >>>Vadim Gritsenko wrote: >>> RTFM http://xml.apache.org/cocoon/userdocs/xsp/request.html: 8< 8<

Re: Problem with encoding non-english request parameters

2002-03-11 Thread Piroumian, Konstantin
> On Mon, 11 Mar 2002 18:32:26 +0300 > yuryx <[EMAIL PROTECTED]> wrote: > > > Vadim Gritsenko wrote: > > > > >RTFM > > >http://xml.apache.org/cocoon/userdocs/xsp/request.html: > > >8< > > >8< > > > > > >Vadim > > > > >

Re: Problem with encoding non-english request parameters

2002-03-11 Thread Kazimierz Pogoda
On Mon, 11 Mar 2002 18:32:26 +0300 yuryx <[EMAIL PROTECTED]> wrote: > Vadim Gritsenko wrote: > > >RTFM > >http://xml.apache.org/cocoon/userdocs/xsp/request.html: > >8< > >xsp-request:get-parameter > > > >Gets the value of the named request parameter. This

Re: Problem with encoding non-english request parameters

2002-03-11 Thread yuryx
Vadim Gritsenko wrote: >RTFM >http://xml.apache.org/cocoon/userdocs/xsp/request.html: >8< >xsp-request:get-parameter > >Gets the value of the named request parameter. This is a value from the >request string (e.g., ?fruit=apple) or from POSTed form data. I

RE: Problem with encoding non-english request parameters

2002-03-11 Thread Vadim Gritsenko
servlet container uses another one you can adjust) 8< Vadim > -Original Message- > From: yuryx [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 11, 2002 5:59 AM > To: [EMAIL PROTECTED] > Subject: Re: Problem with encoding non-e

Re: Problem with encoding non-english request parameters

2002-03-11 Thread yuryx
Thanx for all! For solved this problem just use: String par=new String(request.getParameter("text1").getBytes("ISO-8859-1"),"KOI8-R"); Regards. Yury. yuryx wrote: > Hi all! > > I had the following problem: > In my cocoon's page I had invalid encoding my non-english characters > from request