Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] Error: "Invalid byte 1 of 1-byte UTF-8 sequence" ?


  • From: "James Fuller" <james.fuller.2007@...>
  • To: "Ben Stover" <bxstover@...>
  • Date: Thu, 27 Dec 2007 18:21:15 +0100

Hello Ben


On Dec 27, 2007 4:50 PM, Ben Stover <bxstover@...> 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]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml