View Single Post
  #1 (permalink)  
Old 02-08-2008, 03:47 AM
j_kathiresan j_kathiresan is offline
Member
 
Join Date: Feb 2008
Posts: 1
j_kathiresan is on a distinguished road
Xml Parse throws SaxParseException. Encoding is UTF-8 insteadof ISO-8859-1 ?
Hi All,

I'm having some korean characters in my xml. when i tried to parse the xml i'm getting SaxParseException .

<?xml version="1.0" encoding="UTF-8"?> --- Throwing Exception

<?xml version="1.0" encoding="ISO-8859-1"?> --- No Exception, successfully parsed

I'm not sure why UTF-8 is failing and ISO is passing. But I'm always getting xml with UTF-8 format? Can anyone know the reason?

I also like to know the differences between UTF-8 and ISO, i don't find any good article/document for this.

Thanks,
J.Kathir
Reply With Quote
Sponsored Links