This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: ldquo, rdquo to “, ”, etc
- From: Elizabeth Barham <soggytrousers at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: 13 Feb 2002 13:14:06 -0600
- Subject: Re: [xsl] ldquo, rdquo to “, ”, etc
- References: <8766519ade.fsf@liliwhite.open.oasis>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Try:
<?xml version="1.0" encoding="iso-8859-1"?>
Elizabeth Barham <soggytrousers@yahoo.com> writes:
> I'm trying to convert my documents that use character entities, such
> as “ and ”, 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