cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "km" <kmurm...@o2.pl>
Subject Re: Re: Cocoon, UTF-8 and encodeURI
Date Wed, 29 Nov 2006 10:02:55 GMT
Hi

Thanks, I try this tonight.

Kris


> Hi,
> If nothing is specified, Tomcat uses the host&#39;s defaultencoding, for example
Cp1252.
> If so, strings received by Tomcat are supposed to be in Cp1252
> If you encodeURI, your strings are in UTF-8
> Just add an attribute URIEncoding to the Connector in Tomcat&#39;sserver.xml
> &lt;Connector URIEncoding=&quot;UTF-8&quot; port=&quot;8080&quot;
maxHttpHeaderSize=&quot;8192&quot;
>               maxThreads=&quot;150&quot; minSpareThreads=&quot;25&quot;maxSpareThreads=&quot;75&quot;
>               enableLookups=&quot;false&quot; redirectPort=&quot;8443&quot;acceptCount=&quot;100&quot;
>               connectionTimeout=&quot;20000&quot;disableUploadTimeout=&quot;true&quot;
/&gt;
> This should fix the problem
>  
> On 11/28/06, km &lt; kmurmylo@o2.pl&gt; wrote:Hello
> I have a problem when I encode special characters and empty spaces.I use encodeURI. Have
someone used it? Can someone help me? I usecocoon2.1 and tomcat.
> Thanks
> Kris
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org

-- 
****************************
kmConsulting
Krzysztof
Murmylo

Mobil: +49 179 31 53 791
eMail:
info@kmconsulting.org
http://www.kmconsulting.org
****************************

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


Mime
View raw message