On Wed, Oct 7, 2009 at 1:25 PM, Dennis Dam <[email protected]> wrote:
> Hi,
>
> I'm running into some problems with encoding in Hippo CMS 6 app deployed in
> Tomcat (6.0.18). I have the following encoding configuration:
>
> 1. added system property -Dfile.encoding=UTF-8 to catalina.sh
> 2. added URIEncoding=utf-8 to the 8080 connector in conf/server.xml
> 3. the container-encoding init parameter for the Cocoon servlet is set to
> "ISO-8859-1".
> 4. the form-encoding init parameter for the Cocoon servlet is set to "utf-8"

why is (3) not utf-8??

You can try adding to the web.xml (and add the correct spring jar)

<filter>
        <filter-name>CharacterEncodingFilter</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>
        <init-param>
            <param-name>forceEncoding</param-name>
            <param-value>true</param-value>
        </init-param>
    </filter>

>
> afaics, that's all that I can configure as far as encoding goes. Are these
> settings correct? My problem is that special character form parameters that
> are posted with GET are not shown correctly.
>
> regards
> Dennis
>
> --
> Hippo B.V.  -  Amsterdam
> Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466
>
> Hippo USA Inc.  -  San Francisco
> 101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
> -----------------------------------------------------------------
> http://www.onehippo.com   -  [email protected]
> -----------------------------------------------------------------
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
>
> Searchable archives can be found at:
> MarkMail: http://hippocms-dev.markmail.org
> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
>
>
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to