cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Problem in encoding form data
Date Wed, 10 Apr 2002 20:22:38 GMT
> From: Mohamed Abdel Hameed [mailto:mohamed@imkenberg.net]
> 
> 
>   Hi
>   first i'm using cocoon version 2.0rc1 with Tomcat Version 4.0.1 .
>   i have a problem in ecoding .
>   i try to send data from html FORM this data is (Germany data ) but
there
> is
>   a problem when send this data
>   it sent wrong .

Try in your XSP:

<para>
<xsp:logic>
request.setCharacterEncoding("utf-8");
</xsp:logic>
myparam = <xsp:get-parameter name="myparam"/>
</para>

This <para/> should be the first thing which accesses request object.

Vadim

>   first i read that don't use  GET  when i send data so i change it to
POST
>   but without no change in result
>   i write
>   <?xml version="1.0" encoding="utf-8" ?>
>   in xml siles
>   also in html i use :
>   <META HTTP-EQUIV="Content-Type"  CONTENT="text/html;
charset=utf-8"/>
>   also i use :-
>   enctype="application/x-www-form-urlencoded" accept-charset="utf-8"
>   with FORM .
>   so if anyoe can help me in this it'll be nice
>   thanx .
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message