Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 39009 invoked by uid 500); 3 Jun 2003 14:59:58 -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 38887 invoked from network); 3 Jun 2003 14:59:56 -0000 Received: from tlau5p.thomsonlearning.com (198.80.140.46) by daedalus.apache.org with SMTP; 3 Jun 2003 14:59:56 -0000 Received: from ohcinmail04.tl.thomcorp.net (ohcinmail04 [198.80.170.139]) by tlau5p.thomsonlearning.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h53ExrgD017164; Tue, 3 Jun 2003 10:59:53 -0400 (EDT) Received: from ohcinmail05.tl.thomcorp.net ([198.80.170.54]) by ohcinmail04.tl.thomcorp.net with Microsoft SMTPSVC(5.0.2195.5329); Tue, 3 Jun 2003 10:59:45 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Subject: RE: jfor encoding problem Date: Tue, 3 Jun 2003 10:59:44 -0400 Message-ID: <7C06DAEA0A0EC144BD478D26AE686C905DC606@ohcinmail05.tl.thomcorp.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: jfor encoding problem Thread-Index: AcMpkqWtXScKoe3GQTe7yWTZtOru9gASmPAA From: "Yan, Charlene" To: "Bertrand Delacretaz" , X-OriginalArrivalTime: 03 Jun 2003 14:59:45.0373 (UTC) FILETIME=[C52930D0:01C329E0] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bertrand, Thank you very much for your reply. First of all, I'm using = Cocoon-2.1m2 and jdk1.3.1. I am using the xercesImpl-2.4.1.jar (875KB), = xalan-20030506.jar(2571KB), and xml-apis.jar(122kb) in tomcat4.0.5's = common/lib dir. You can easily reproduce it by using the Orderpage = example at http://localhost:8080/cocoon/samples/stream/order. If you = add at the top of the = default xml and change Order Id to be G=E9rer, the next html page will = display G=C3=A9rer as Order Id. It is doing the = same thing to rtf report. =20 Is it a parser problem? The same xml is parsed correctly in my struts = application using different xml jars. I'm going to switch to using = those jars to try if it will work. Thanks! Charlene -----Original Message----- From: Bertrand Delacretaz [mailto:bdelacretaz@codeconsult.ch] Sent: Tuesday, June 03, 2003 1:41 AM To: cocoon-users@xml.apache.org Cc: Yan, Charlene Subject: Re: jfor encoding problem Le Lundi, 2 juin 2003, =E0 21:51 Europe/Zurich, Yan, Charlene a =E9crit = : > ... > I'm trying to display accented characters correctly using jfor. =20 > However, when I try to run=20 > http://localhost:8080/cocoon/samples/jfor/minimal.rtf, it gives the=20 > following exception. I have put some French words such as "G=E9re" in = > the xml file... Is the encoding declaration correct in your input XML? Can you parse it with another tool (XML editor or parser)? If you can reduce your input to the smallest XML file that causes the=20 problem, you could post it here so that someone can test it. Hope this helps, -- Bertrand Delacretaz (codeconsult.ch, jfor.org) XML, java, XSLT, Cocoon, FOP, mentoring/programming/teaching blogspace http://www.codeconsult.ch/bertrand --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org