Home > Archive > SQL Anywhere for Linux > August 2005 > Does ASA9 support Unicode on Solaris?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Does ASA9 support Unicode on Solaris?
sldong

2005-08-29, 8:23 pm

When I use SQLDriverConnectW to connect to a ASA9 database on Solaris, I got
error message:

uniLen = STRLEN(inConnStr)*2;

rc = ((RETCODE (*)(CS_VOID *, CS_VOID *, SQLWCHAR*, CS_INT, SQLWCHAR
*, CS_INT, CS_INT *, CS_INT))(conlibp->lib_func-> connect(SQLDriverCon
nectW))
(*conn, NULL, (SQLWCHAR*)unicodeDa
ta, SQL_NTSL,
(SQLWCHAR*)outConnSt
r, 2048, &outConnStrLength, SQL_DRIVER_NOPROMPT)
;

SQLError: 0, SQLState: IM002, [INTERSOLV][ODBC lib] Data source name not
found and no default driver specified.

Does anyone point me if ASA9 support Unicode on Solaris?

Thanks,
Dong


Greg Fenton

2005-08-30, 9:25 am

sldong wrote:
>
> SQLError: 0, SQLState: IM002, [INTERSOLV][ODBC lib] Data source name not
> found and no default driver specified.
>


Replied to post in other newsgroup.

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Mohammed Abouzour

2005-08-30, 11:25 am

The ASA9 ODBC drivers on Solaris (and all other UNIX platforms supported by
ASA9) does not
support the wide versions (Unicode) of the ODBC APIs. This feature will be
available with SQL Anywhere 10 ODBC
drivers.

Mohammed

"sldong" <sldong@sybase.com> wrote in message news:4313b48c@forums
-1-dub...
> When I use SQLDriverConnectW to connect to a ASA9 database on Solaris, I
> got
> error message:
>
> uniLen = STRLEN(inConnStr)*2;

> rc = ((RETCODE (*)(CS_VOID *, CS_VOID *, SQLWCHAR*, CS_INT,
> SQLWCHAR
> *, CS_INT, CS_INT *,
> CS_INT))(conlibp->lib_func-> connect(SQLDriverCon
nectW))
> (*conn, NULL, (SQLWCHAR*)unicodeDa
ta, SQL_NTSL,
> (SQLWCHAR*)outConnSt
r, 2048, &outConnStrLength, SQL_DRIVER_NOPROMPT)
;
>
> SQLError: 0, SQLState: IM002, [INTERSOLV][ODBC lib] Data source name not
> found and no default driver specified.
>
> Does anyone point me if ASA9 support Unicode on Solaris?
>
> Thanks,
> Dong
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com