cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Flynn <pfl...@ucc.ie>
Subject Re: Encoding
Date Fri, 17 Dec 2010 16:05:50 GMT
On 17/12/10 15:37, Laurent Medioni wrote:
> What is your 
> <init-param>
>       <param-name>container-encoding</param-name>
>       <param-value>UTF-8</param-value>
> </init-param>
> In web.xml ?

Interesting. ISO-8859-1, because

<!--
      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.
    -->

I wouldn't call Tomcat buggy, exactly, but the servlet spec made a poor
choice in making ISO-8859-1 the default, given that the rest of the
planet is going down the UTF-{8|16|32|64} road :-)

Certainly fixes the problem though...very many thanks.

///Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message