Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 84234 invoked by uid 500); 25 Mar 2003 14:33:20 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 84221 invoked from network); 25 Mar 2003 14:33:20 -0000 Received: from office.oilspace.com (213.219.58.70) by daedalus.apache.org with SMTP; 25 Mar 2003 14:33:20 -0000 Received: from kpiroumian (ns.informtek.com.ru [195.239.59.130]) by office.oilspace.com (Postfix) with SMTP id 47C7610F for ; Tue, 25 Mar 2003 14:33:20 +0000 (GMT) Message-ID: <001101c2f2db$8e938f70$a52efea9@kpiroumian> From: "Konstantin Piroumian" To: References: Subject: Re: Encoding problems Date: Tue, 25 Mar 2003 17:33:45 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N What about the container-encoding? Btw, I never had problems with encoding in i18n samples, cause I always use UTF-8 everywhere. Use Unicode and you'll have much less problems. In cocoon/samples/i18n/simple.xsp there is an explicit conversion for UTF-8 to container-encoding and it works for all the locales used there. ----- Original Message ----- From: To: Sent: Tuesday, March 25, 2003 17:24 Subject: RE: Encoding problems In the doc it's written about setting this in web.xml : form-encoding utf-8 But it doesn't change anything with cocoon 2.0! -----Original Message----- From: Konstantin Piroumian [mailto:kpiroumian@apache.org] Sent: Tuesday, March 25, 2003 2:55 PM To: cocoon-users@xml.apache.org Subject: Re: Encoding problems You can set container-encoding and form-encoding initialization parameters in web.xml . Take a look at the web.xml from Cocoon distribution, there's a comment about it. ----- Original Message ----- From: To: Sent: Tuesday, March 25, 2003 16:36 Subject: RE: Encoding problems Is there no other way to keep my french caracter set from page to page (because I have to many pages and some request are xsp-request) Tanks -----Original Message----- From: Yury Mikhienko [mailto:yuryx@mobicomk.donpac.ru] Sent: Tuesday, March 25, 2003 2:20 PM To: cocoon-users@xml.apache.org Subject: Re: Encoding problems On Tue, 25 Mar 2003 14:12:59 +0100 wrote: > Hi, > I have xsp pages, and all my parameters with accents (�, �, �,...) changes into things like "é",... > I tried diferent encoding into my pages (like ), but nothing seems to work! > how can I keep the accents? > Try form-encoding attribute in the xsp:request or construction like: String myparam = new String(request.getParameter("param").getBytes("ISO-8859-1"),"CP-1251"); -- Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz" --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org