Multibyte character issue while reading from oracle database
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 开发者_如何学Pythonas ??????
.
Please suggest what should be done.
I have tried using -Dfile.encoding=UTF8
, but that does not work out.
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?
精彩评论