You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2008/12/08 12:34:43 UTC
[DAISY] Comment added to How to configure consistent encoding in
Cocoon
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