• Post Reply Bookmark Topic Watch Topic
  • New Topic

SAXParser doesnt parse swedish characters properly

 
Gayathri Nagarajan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I'm trying to parse a xml file which contains swedish characters
with SAXParser but it doesnt parse with the expected output.

SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setValidating( false );
factory.newSAXParser().parse(file);

the xml file is encoded with UTF-8 . Please let me know whats going wrong here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!