Some JDBC driver manage the character encoding: Example:
The ResultSet.getString() method and PreparedStatement.setString() method expect string data in Java Unicode encoding (UTF-16).
To output the data in other encoding, use standard Java conversion mechanisms. Ex:
String outStr = new String(rs.getBytes(1),"ISO-8859-1");