[freetds] long way to WCHAR...
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Fri Oct 17 09:14:39 EDT 2008
Today I commited some patch for SQL_C_WCHAR/SQL_(VAR)CHAR.
Although not complete there was many improvements. Now libTDS is set so it doesn't convert
strings but conversion occurs in ODBC in SQLFetch/SQLGetData. This lead to some
- client utf8 encoding comsume less space
- conversions to SQL_C_BINARY returns unconverted strings, this is compliant to MS
- in indicator we can have SQL_NO_TOTAL meaning there is more data to read but we don't
know how much, this could break some compatibility
Mostly tests works except utf8 (see http://freetds.sourceforge.net/up/out83/test/, only
utf8 fails for conversion issues) but I should commit another patch that fix the problem.
Note however that tests for new types are not complete with SQL_C_WCHAR complitely
So... stay tuned :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3129 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20081017/c05eb8cf/attachment.bin
More information about the FreeTDS