1

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.

4

1 回答 1

0

您尝试解码的机器上是否安装了语言集?您可以使用任何方法正确获取数据吗?

于 2011-08-23T04:07:40.370 回答