This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ldquo, rdquo to &#8220, &#8221, etc


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 &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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]