This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: encoding problem
- To: Joern Clausen <joern at TechFak dot Uni-Bielefeld dot DE>
- Subject: Re: [xsl] encoding problem
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Thu, 31 May 2001 10:46:32 +0100
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <20010531094526.D16542@kiefer.TechFak.Uni-Bielefeld.DE>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Joern,
> I have a problem concerning the encoding of the involved documents.
When you include something as an entity, the XML parser uses the
encoding that you declare *for the entity*, not the encoding that you
declare for the including file.
So you need to make sure that you have a text declaration that
includes the relevant encoding attribute on 'result.xml' - otherwise
it will assume UTF-8, which is where you're getting the error. If you
add:
<?xml version="1.0" encoding="ISO-8859-1"?>
to the top of 'result.xml' it should work fine, I think.
I hope that helps,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list