HEllo again I try it, but it did not help.
I have a Problem with empty spaces (e.s.). Cocoon make from e.s. "+" charackter and then come IO.Exeption. If I use a javascript encodeURIU() it use for e.s. %20 but it don't work too. But if I put %2520 - then works. The same is with german special characters (öäü). F.e. Ä is %c3%a4 but it works if I have %25c3%25a4. (encodeURI()) Case in Cocoon: I have a mail form. Built with XSLT. On submit I have to send all info to Database (I call an webservice) and then I shoud send an email. But I can not start the webservice, becouse of IO.Exeption. What I do wrong? If I look into my logs I see very strange charakters for every ÄÖÜäöü and similar. Thank for every help. 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]
