Hi Arash > -----Original Message----- > From: Arash Bijanzadeh [mailto:[EMAIL PROTECTED] > Sent: Samstag, 7. August 2004 08:58 > To: [EMAIL PROTECTED] > Subject: odbc driver under *nix > > > "The use of the ODBC driver is currently not possible on > platforms for which > the standard UNICODE type WCHAR_T with four bytes is defined."
For the MaxDB-ODBC driver SQLWCHAR is defined as UCS2. I.e. a character consists of two bytes. On Unix/Linux the native wide character has mostly four bytes. Therefore you cannot send directly those strings to the MaxDB ODBC driver. A workaround is to define a crude conversion from UCS2 <-> UCS4 forgetting the surrogate stuff. Since MaxDB does not take surrogates into account this wouldn't add problems to your application. HTH Thomas ---------------------------------------------- Dr. Thomas K�tter SAP AG, SAP Labs Berlin Do you know SAP^H^H^H MaxDB ? www.sapdb.org -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
