We are currently working with Qt SQL to read from a MS-Access database by an ODBC driver. In that regard we want to get metadata like the table names in the database. These table names don't contain the German umlauts used in MS-Access and you can't convert the string either in order to get the umlauts.
Here ist an example with the German word "Ortsschlüssel".
The following code snippet shows the general concept.
Therefore we stepped into the Qt Code, especially the method tables(QSql::TableType type) in qsql_odbc.cpp. In line 2388 the table name is determined:
In our opinion the hard-wired false is wrong because of line 507
The buffer buf simply doesn't contain the correct value for the German umlauts to be converted from Utf-8. If you call qGetStringData with unicode = true, the umlauts are treated right.
We hope you could understand our problem and look forward to hear from you soon.