试试这样
插入的时候是:
SQLstatement.executeUpdate(new String(query.getBytes(), "iso8859-1");
输出是:
SQLresult = SQLstatement.executeQuery(query);
System.out.println(String(SQLresult.getBytes("name"),"gb2312") );
插入的时候是:
SQLstatement.executeUpdate(new String(query.getBytes(), "iso8859-1");
输出是:
SQLresult = SQLstatement.executeQuery(query);
System.out.println(String(SQLresult.getBytes("name"),"gb2312") );
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货