Re: ODBC: Unicode conversion from UTF-8 to UCS-2

Hannes Edinger <[email protected]>
Newsgroups gmane.comp.db.sapdb.general
Organization privat
Message-ID <[email protected]>
Thanks Thomas! Thanks Sven!

Didn't know that this is a matter of PHP-ODBC and not of SAPDB... Now 
I'm really in trouble! :-)

Is there any trick to get Unicode encoded data into a Unicode column 
without using the ODBC-Wide-API?

Regards,
Hannes

Sven Köhler wrote:

>> The ODBC driver expects in the ODBC-Wide-API (the functions with
>> a trailing "W" like SQLConnectW) UCS2 strings in a 2-bytes data type.
>> SQLWCHAR is defined in sqltypes.h, line 335:
>
>
> He's talking about PHP, and i just looked it up:
> PHP doesn't offer access to the unicode-aware functions of the ODBC API.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.