From: Roman S. <rom...@re...> - 2008-07-31 12:23:19
|
bill lam wrote: > Roman Simakov wrote: > >> Summary. Roughly speaking, on Windows Unicode is UTF-16 or native >> wchar_t. On Linux - UTF-8 or UTF-16 according to >> SQL_ATTR_APP_UNICODE_TYPE and SQL_ATTR_DRIVER_UNICODE_TYPE attributes >> and ODBC driver manager. >> >> I could missing something :) >> > > Thank you for information. iirc unixodbc does not have these two options. The > size of SQLWCHAR have to be chosen to be either 2 or 4 during compilation of > unixodbc. Are they datadirect specific extension? afaik software from datadirect > are neither open-source nor freeware. > I don't now about any specific datadirect extentions. It seems unixODBC uses UCS-2. http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.cli.doc/doc/c0011522.htm Roman Simakov |