Re: [xsl] ldquo, rdquo to &#8220, &#8221, etc

Subject: Re: [xsl] ldquo, rdquo to &#8220, &#8221, etc
From: Elizabeth Barham <soggytrousers@xxxxxxxxx>
Date: 13 Feb 2002 13:14:06 -0600
Try:

<?xml version="1.0" encoding="iso-8859-1"?>

Elizabeth Barham <soggytrousers@xxxxxxxxx> writes:
> I'm trying to convert my documents that use character entities, such
> as &ldquo; and &rdquo;, to a format XML Schema can validate. I did
> manage to convert the entities to their numerical "entity", but now
> java is not able to work with it:
> 
> "invalid byte 1 of 1-byte UTF-8 sequence"
> 
> I have determined the solution envolves the encoding="XXX" in the
> prolog but so far I have not been able to correct it. Using
> encoding="UTF-16", I receive:
> 
> "Missing byte-order mark"
> 
> Does anyone know how I should deal with this?

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread