xsl-list
[Top] [All Lists]

Re: [xsl] Invalid byte 2 of 3-byte UTF-8 sequence.

2008-03-18 06:00:33

Your input file is corrupted in some way. Most likely it declares that
it is utf-8 (or equivalently does not declare an encoding at all) when
it is in some other encoding, such as the European 8 bit encoding,
ISO-8859-1  (latin 1).

the encoding specified on the first line of the file
<?xml version="1.0" encoding="..."?>
must match the encoding that the file is in.

(Actually it's possible to over-ride that encoding, but life is simpler
if your file specifies the correct encoding in the first place)
Of course it's not possible to tell you what encoding it is in
but encoding="ISO-8859-1" would be my guess.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>