
August 23rd, 2000, 02:10 AM
|
|
Junior Member
|
|
Join Date: Aug 2000
Location: india
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hi guys,
we are using sun's javax parser for xml parsing.when the xml document contains encoding ="UTF-16" then we get a unsupported encoding exception.we have also tried 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 using the specified character encoding.
please provide a solution at the earliest.
thanks
|