[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Error: "Invalid byte 1 of 1-byte UTF-8 sequence" ?
- From: "James Fuller" <james.fuller.2007@gmail.com>
- To: "Ben Stover" <bxstover@yahoo.co.uk>
- Date: Thu, 27 Dec 2007 18:21:15 +0100
Hello Ben
On Dec 27, 2007 4:50 PM, Ben Stover <bxstover@yahoo.co.uk> wrote:
> I got a XML doc and a java class which should process this XML doc (on WinXP-OS).
>
> Unfortunately I am getting an execption:
>
> "Invalid byte 1 of 1-byte UTF-8 sequence"
>
> What's wrong?
most likely the xml document is not encoded with utf, most likely its
iso-8859 or something close to that.
I would recommend using something like HTML Tidy to clean up these kind of docs.
lots of good advice can be found here as well
http://www.dpawson.co.uk/xsl/sect2/N3353.html
hth, Jim Fuller
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]