UCS2 - UTF8 conversion

From: Parvinder Singh(EHPT) (P.Singh@ehpt.com)
Date: Mon May 08 2000 - 12:48:57 EDT

Hi everybody,
Can somebody help me in removing the following error :

java.sql.SQLException: Fail to convert between UTF8 and UCS2

My oracle database character set is UTF8.I am fetching the value through a
servlet from oracle(8.06) table's column which contains data in Swedish . My
query is :
String str = "Select convert(content,'UTF8') AAA from content_unicode";

After this when I do try-catch in java servlet code,the following line gives
me SQLException error :

System.out.println("********* "+rs.getString("AAA"));

Thanks and regards,

This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:02 EDT