Hello Yasuo,

> -----Original Message-----
> From: ohtomo [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 26. September 2006 09:56
> To: maxdb@lists.mysql.com
> Subject: WINDOWS-932 encoding
> 
> Hello ML wizards,
> 
> I wonder how the conversion works between UCS2 and WINDOWS-932(MBCS,
> Multi Byte Character Set).
> I'm Japanese, and I usualy use WINDOWS-932 encoding on Windows.
> When I do ODBC calls to get Japanese data, conversion errors occur.
> 
> For example, using column names in Japanese with Unicode Instance,
> when I call the ODBC call to get the name (e.g. SQLGetData() with
> SQL_C_CHAR for TargetType), the error 07006(Restricted data type
> attribute violation) returns from ODBC. (MaxDB 7.6.00.16 on WindowsXP
> Professional)


did you try the Unicode ODBC-driver (sqlod32w.dll), which is usually registered 
as "MaxDB (Unicode)" after installation? Then you could receive the data as 
SQL_C_WCHAR and convert into codepages as you wish.


Regards  Thomas



----------------------------------------------
Dr. Thomas Kötter
SAP AG, Berlin
NW DT MaxDB

MaxDB: all you need!                   
www.mysql.com/products/maxdb  www.sapdb.org  

 

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to