Hi Thanks, I try this tonight.
Kris > Hi, > If nothing is specified, Tomcat uses the host'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'sserver.xml > <Connector URIEncoding="UTF-8" port="8080" > maxHttpHeaderSize="8192" > maxThreads="150" > minSpareThreads="25"maxSpareThreads="75" > enableLookups="false" > redirectPort="8443"acceptCount="100" > > connectionTimeout="20000"disableUploadTimeout="true" /> > This should fix the problem > > On 11/28/06, km < [EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- **************************** kmConsulting Krzysztof Murmylo Mobil: +49 179 31 53 791 eMail: [EMAIL PROTECTED] http://www.kmconsulting.org **************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
