A
A
Anton2012-01-25 11:16:44
Java
Anton, 2012-01-25 11:16:44

jdbc odbc bridge fetching text with german umlauts?

Good day ...
Faced such a problem - when taking from the Microsoft Access database, German letters with umlauts are lost - question marks appear instead of them.
Connection String - jdbc:odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=D:{long_path here}/data/\sospos.mdb
Driver - sun.jdbc.odbc.JdbcOdbcDriver
Tried to solve adding charSet to connection properties but didn't work.
If anyone knows how to fix this, please share.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vtysh, 2012-01-25
@vtysh

There seems to be some problem with encodings in this driver.
bugs.sun.com/bugdatabase/view_bug.do?bug_id=6345277
stackoverflow.com/questions/1467412/reading-unicode-data-from-an-access-database-using-jdbc

B
Beholder, 2012-01-26
@Beholder

[Offtopic] Get rid of Access, it's terrible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question