Code: Select all
If ColumnType In [stString, stUnicodeString] Then
If ColumnCodePage = zCP_UTF16 Then ColumnType := stUnicodeString
Else ColumnType := stString;
Before sending a pull request I'd like to test if it works correctly everywhere else.
Is it possible that TZCachedResultSet is simply not handling UTF16 at all?