Difficulty in reading French characters from XML document
1 posts in topic
Flat View  Flat View

Posted By:   Kamal_Suruguchi
Posted On:   Tuesday, September 12, 2006 05:17 AM

I have an application where a SAX parser reads from an XML document. The document has some French Characters. But when I try to read them in the

public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException

method, using the attributes variable, they are represented only as small square boxes or question mark symbols. But not what they actually are, like é or è etc. Is there anyway I can specify to the parser that the content has special characters? or anyway where the attributes variable will have the same special characters as in the document but not some junk? Thanks in advance for the help.

Re: Difficulty in reading French characters from XML document

Posted By:   Simon_Ablett  
Posted On:   Thursday, September 14, 2006 04:48 AM

Ah, you see that's where your problem lies. You are trying to read an outdated language. Try updating to a more modern equivelant....English ;-)
About | Sitemap | Contact