Hi Thomas,
You should not get UnicodeStrings as column names. But I couldn't reproduce a situation where I would get such behavior.
The column name is obtained from an ODBC API call and the result is passed as a pointer to AbtOdbcDatabaseConnection>>#convertBufferToString:, only AbtOdbcUnicodeDatabaseConnection performs a conversion from UTF-16 to UnicodeString, the "regular"/ANSI version just converts the OSStringZ argument to a string using the active codepage.
Could it be that you created an ODBC connection with Unicode enabled and then disabled it at the manager level, but the Unicode connection is still registered under some alias? In such a case evaluating `AbtOdbcDatabaseManager shutDown` before doing anything should help.
Can you give me more details about the setup you have? E.g. MSSQL ODBC driver version, database collation configuration, if it happens to all column names or only to some of a specific table (and if so, can you share with us its schema?).
I'd appreciate this information so we can help you better, and remember that as a customer you can always get support from us by opening a ticket in the VAST Customer Portal.
Best regards.
|
Esteban Maringolo VAST Consultant Senior Software Developer
| | | | |
|
|
|