UTF-16 encoding problem while parsing a xml document using s

wxdqz

New Member
Hi guys,we are using sun's javax parser for xml parsing.when the xml document containsencoding ="UTF-16" then we get a unsupported encoding exception.we have alsotried to set the encoding to "UTF-16" using the setEncoding method of InputSource,and have also tried to set the encoding in a String as follows.String(byte[] bytes, String enc)Construct's a new String by converting the specified array of bytes usingthe specified character encoding.please provide a solution at the earliest.thanks
 
Back
Top