Author: bruno
Date: Thu Aug 19 07:50:50 2004
New Revision: 36613

Modified:
   cocoon/trunk/src/webapp/WEB-INF/web.xml
Log:
Uncomment the container-encoding and form-encoding parameters, this
makes no difference as they otherwise also default to ISO-8859-1.
This makes it easier to replace them using xpatch.
Add some clarification to the often-confused container-encoding.


Modified: cocoon/trunk/src/webapp/WEB-INF/web.xml
==============================================================================
--- cocoon/trunk/src/webapp/WEB-INF/web.xml     (original)
+++ cocoon/trunk/src/webapp/WEB-INF/web.xml     Thu Aug 19 07:50:50 2004
@@ -341,24 +341,23 @@
     <!--
       Set encoding used by the container. If not set the ISO-8859-1 encoding
       will be assumed.
+      Since the servlet specification requires that the ISO-8859-1 encoding
+      is used (by default), you should never change this value unless
+      you have a buggy servlet container.
     -->
-    <!--
     <init-param>
       <param-name>container-encoding</param-name>
-      <param-value>utf-8</param-value>
+      <param-value>ISO-8859-1</param-value>
     </init-param>
-    -->
 
     <!--
       Set form encoding. This will be the character set used to decode request
       parameters. If not set the ISO-8859-1 encoding will be assumed.
     -->
-    <!--
     <init-param>
       <param-name>form-encoding</param-name>
-      <param-value>utf-8</param-value>
+      <param-value>ISO-8859-1</param-value>
     </init-param>
-    -->
 
     <!--
       This parameter allows you to startup Cocoon2 immediately after startup

Reply via email to