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.