daisy
Mon, 08 Dec 2008 03:35:19 -0800
A comment has been created. http://cocoon.zones.apache.org/daisy/documentation/1366.html
Document ID: 1366
Name: How to configure consistent encoding in Cocoon
Branch: main
Language: default
Created by: Alexander Daniel
Created on: 12/8/08 11:34:37 AM
Visibility: public
Instead of using your own SetCharacterEncodingFilter you can use the one
provided by Spring:
<filter>
<filter-name>SetCharacterEncoding</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>SetCharacterEncoding</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
found this info at
http://cocoon.markmail.org/search/?q=org.springframework.web.filter.CharacterEncodingFilter#query:org.springframework.web.filter.CharacterEncodingFilter+page:1+mid:q5cgg44f7mpvjnku+state:results