Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Unicode with OCI
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
![]() |
![]() |