Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 14706 invoked by uid 500); 28 Mar 2002 13:49:52 -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 14694 invoked from network); 28 Mar 2002 13:49:51 -0000 From: "Vadim Gritsenko" To: Subject: RE: Encoding non-english characters in XSP (C2.0.2) Date: Thu, 28 Mar 2002 08:48:47 -0500 Message-ID: <003d01c1d65f$48e8ad50$c7a8558b@vgritsenkopc> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: <3CA2C650.4000500@mobicomk.donpac.ru> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok, I see, you have got national characters in the Java file (I do not = have them, may be because of different locale). Next step for you would be: 1. Switch back to Javac (pizza does not support Java file encoding = option) 2. Make sure Javac gets "-encoding KOI8-R" command line option and everything should be ok. Vadim -------------------------------------------- From: yuryx [mailto:yuryx@mobicomk.donpac.ru]=20 I fail to see difference. In both cases, in Cocoon 2.0.1 and in Cocoon 2.0.2, XSP page with KOI8-R encoding, produces following Java code: this.characters("\n ??????\n "); yes, in sample_xsp.java: this.characters("\n "); =20 this.contentHandler.startElement( "", "h4", "h4", xspAttr ); xspAttr.clear(); =20 this.characters("=D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82 from = XSP"); =20 this.contentHandler.endElement( "", "h4", "h4" ); =20 this.characters("\n "); sample.xsp: title

=D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82 from XSP

..and sample.xsl: =20 <xsl:value-of select=3D"title"/>

=D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82 from XSL

in sitemap.xmap: 1024 KOI8-R But in output page : =D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82 from XSL =C3=B0=C3=92=C3=89=C3=97=C3=85=C3=94 from XSP And I don't understand this ... :(( Sorry by repeat the question Thanx. Yury. Check that you do not have any other changes in your environment. For me, both versions of Cocoon produce bunch of question marks when trying to use KOI8-R encoding. Vadim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: