How to correctly return special Spanish characters from a MS Access db with jdbc-odbc driver
- 阅读更多 关于 How to correctly return special Spanish characters from a MS Access db with jdbc-odbc driver
问题 How can you return special characters from a Ms access (.accdb or .mdb) database using the jdbc-odbc driver for MS Acess databases? Converting from bytes of the result set( bytes[] bt = rs.getbytes(index_of_field) and then new String (bt, "UTF-8") or even new String (bt, "iso-8859-1") ) or getting the string ( rs.getString() ) won't work and you need a valid way to do it. 回答1: The way to get special characters like (some other special characters may also be returned successfully, however,