Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 45643 invoked from network); 26 May 2000 06:48:32 -0000 Received: from balld-0.dsl.speakeasy.net (HELO localhost.localdomain) (@216.254.77.75) by locus.apache.org with SMTP; 26 May 2000 06:48:32 -0000 Received: from localhost (balld@localhost) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id BAA03851 for ; Fri, 26 May 2000 01:39:18 -0400 X-Authentication-Warning: localhost.localdomain: balld owned process doing -bs Date: Fri, 26 May 2000 01:39:17 -0400 (EDT) From: Donald Ball X-Sender: balld@localhost.localdomain To: cocoon-dev@xml.apache.org Subject: Re: encoding, encoding, encoding... In-Reply-To: <392DFEF8.87E73008@3dart.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Fri, 26 May 2000, Szymon Stasik wrote: > Szymon Stasik wrote: > > plain mysql seems to be enough to get correctly encoded (eg. as-is) dat= a > > from MySQL without aditional settings (of course I need to recompile fo= r > > apriopriate sorting) > >=20 > > =3D> > >=20 > > there is one more encoding problem in cocoon :( >=20 >=20 > While investigating my current status is that while testing XSP (XSP > itserf is configured to use ios-8859-2 encoding) i have: >=20 > document.createTextNode("PL ok -- =B1=E6=EA=B3=F1=F3 -- | PL not --" + > RS.getObject(1).toString())); >=20 > where: > - first part ("PL ok -- =B1=E6=EA=B3=F1=F3 --") shows correctly in HTML > - RS is latin2 encoded (but badly interpreted under cocoon) result of > some query I had prepared.=20 > - exactly the same query prepared in exactly same way compiled > standalone gives me correct results on the console can you send me the source code for the standalone app? i'm sure by stepping through your example v.s. mine that i oughta at least be able to single out the method calls that are responsible. - donald