Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Unicode with OCI

Unicode with OCI

From: Al Slater <al.slater_at_scluk.com>
Date: Wed, 09 Oct 2002 14:05:59 +0100
Message-ID: <3DA429B7.4000803@scluk.com>


Hi,

I am running an Oracle 9.0.1 server with AL16UTF16 NCHAR encoding.

I have client code using the OCI which fetches unicode data from the database into a wchar_t buffer.

The define handles have the OCI_ATTR_CHARSET_ID and the OCI_ATTR_CHARSET_FORM atributes se to OCI_UTF16ID and SQLCS_NCHAR respectively.

Now, when that code is compiled against the Oracle 8.1.6 OCI release then all works as expected.

But when I compile the code against the Oracle 9.0.1 OCI release then the unicode data is always returned as normal character data.

Does anyone have any ideas about this?

Thanks in advance

Al Slater Received on Wed Oct 09 2002 - 08:05:59 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US