从oracle中读取数据出现乱码
oracle数据库编码为American_america.us7ascii
用sql plus连接select可以显示正常
前面加上了
<%@ page contentType="text/html; charset=gb2312" %>
<% request.setCharacterEncoding("gb2312");%>
取出时的语句
String dd = new String(rs.getString("title").getBytes("US-ASCII"),"gb2312");
还有哪里需要注意啊,求救。。。