Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 84863 invoked from network); 23 Aug 2000 03:41:08 -0000 Received: from balld-0.dsl.speakeasy.net (HELO localhost.localdomain) (@216.254.77.75) by locus.apache.org with SMTP; 23 Aug 2000 03:41:08 -0000 Received: by localhost.localdomain (Postfix, from userid 501) id 840CE4810; Tue, 22 Aug 2000 23:43:59 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 215046081; Tue, 22 Aug 2000 23:43:59 -0400 (EDT) Date: Tue, 22 Aug 2000 23:43:59 -0400 (EDT) From: Donald Ball X-Sender: balld@localhost.localdomain To: cocoon-users@xml.apache.org, cocoon@net.hr Subject: Re: xinclude encoding problem In-Reply-To: <39a248f0.d36.0@net.hr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Tue, 22 Aug 2000, Cocoon mailing lista wrote: > When we use xinclude to include XML files that contain characters in > ISO-8859-2 encoding those characters don't get converted properly > (e.g. the character ¹ gets converted into ¹ instead of > š (š) ). All of our files begin with ' encoding="ISO-8859-2"?>'. When we access the files directly (without > xinclude) everything works fine. hmm. something is definitely going wrong in the serialization, but i haven't got the foggiest idea how to address this. my code is blissfully unaware of character encoding issues. in fact, i don't see anything in the entire DOM API that indicates anything to do with character encodings. what version of xerces are you using? what is the encoding of the source file? if you include the files using external entities does it work properly? what is the declared encoding of cocoon's result? can't promise i'll be terribly helpful as i'm almost completely ignorant about encoding issues, but i'll give it a whirl. - donald