UTF-8 to UCS 2 Encoding Conversion
807605Sep 11 2006 — edited Aug 6 2007Hi!
we have data with different encoding in our Oracle DB.
ie utf-8,ucs-2 ,iso etc...
We need to retrieve the data from the database and display the result.
when i m retrieving the data and doing rs.getString(ColName) its throwing exception saying that cant not convert bet' UTF-8 to UCS-2 Format.
When I do a getBytes..I am not getting any exception but the result is not in a readable form...v hv to display the data.
Any idea hw to convert bet' UTF=8 to UCS 2??
thanks in Advance!!