Multibyte character issue while reading from oracle database

884 Views Asked by At

I am reading a column from database using rs.getString() method , the column has some multibyte data.

When retrieved through rs.getString() , the data get garbled and all multibyte characters appear as ??????.

Please suggest what should be done.

I have tried using -Dfile.encoding=UTF8 , but that does not work out.

1

There are 1 best solutions below

0
On

Do you have the language sets installed on the machine you are trying to decode? Can you get the data out correctly using any methods?