--- Reçu de       INFETUDE.G145193 02/250.96.71              17-01-03 07.59

Bonjour,

I am a problem with charater encoding in Cocoon with character French
(éà..)
I have Tomcat 4.1.12, JDK 1.3 and Cocoon 2.0.3
My JSP is generate via VaGen of VisualAge

Without Cocoon, the application run correctely. I have in my JSP
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
The form and data entry are correct without cocoon

With cocoon, the form is correct but the data entry have not correct
Entry a data "René" and the résult of the send form is "René"

I have add in the Sitemap.xmap, but the result is same

    <map:serializer logger="sitemap.serializer.xml" mime-type="text/xml"
name="xml" src="org.apache.cocoon.serialization.XMLSerializer">
      <encoding>UTF-8</encoding>
    </map:serializer>

    <map:serializer logger="sitemap.serializer.html" mime-type="text/html"
name="html" pool-grow="4" pool-max="32" pool-min="4"
src="org.apache.cocoon.serialization.HTMLSerializer">
      <encoding>UTF-8</encoding>
      <omit-xml-declaration>true</omit-xml-declaration>
      <buffer-size>1024</buffer-size>
    </map:serializer>
....
    <map:action name="set-encoding"
src="org.apache.cocoon.acting.SetCharacterEncodingAction"/>
....
  <map:act type="set-encoding">
    <map:parameter name="form-encoding" value="UTF-8"/>
  </map:act>

With ISO-8859-1 in JSP, the form and data entry are not correct.

Thank for your help
Angelo

---- 17-01-03 07.59 ---- Envoyé à      ------------------------------------
  -> [EMAIL PROTECTED]


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.


[EMAIL PROTECTED]
*******************************************************************


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

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to