Hi everybody,
I got a problem about unicode when I use SAP parser to parse the XML. The error message are below.
org.xml.sax.SAXParseException: Illegal character at end of document, <.
org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa3" (line number may be too low).
 
But the XML data seems right. My client told me the they are the UNICODE HTML entitiy < and £. I think
it just the problem of encoding the data. But I don't know how to deal with it. Can anybody help me for that? How can I aviod that type problem?
 
XML data is below.
englishNews:
<newsFeed><storyList><story id="320955" team="Aston Villa" type="Top Story" importance="1" sequenceNumber="1">
<headline>Ellis counts cost of UEFA Cup exit</headline><subTitle>Chairman Doug Ellis has revealed the disappointing first-round exit from the UEFA Cup has cost the club a possible pay-day of ?million.</subTitle></story>
</storyList></newsFeed>
 
 
Thank you very much.
Bridges. 

Reply via email to