Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Charset encoding problem

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "John.Cowan" <jcowan AT reutershealth.com>
  • To: Alex Blewitt <alex_blewitt AT yahoo.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Charset encoding problem
  • Date: Wed, 14 Sep 2005 13:02:54 -0400

Alex Blewitt scripsit:

> nu.xom.ParsingException: Character conversion error:
> "UTF-8 encoding of character 0x001b2ba0 can't be
> converted to Unicode." (line number may be too low).
> at line 1, column -1 in
> http://bandv.hopto.org/gallery/rss.php

That's plainly a parser bug, based on a buggy UTF-8 converter:
there is no valid UTF-8 sequence that unpacks to U+1B2BA0.
So not only is the parser misinterpreting the document as UTF-8,
but it is not even handling that correctly.

--
Schlingt dreifach einen Kreis vom dies! John Cowan
<jcowan AT reutershealth.com>
Schliesst euer Aug vor heiliger Schau, http://www.reutershealth.com
Denn er genoss vom Honig-Tau, http://www.ccil.org/~cowan
Und trank die Milch vom Paradies. -- Coleridge (tr. Politzer)




Archive powered by MHonArc 2.6.24.

Top of Page