benthicsoftware
Member²
Hi Marco,
I'm a bit confused on Unicode support in DOA 4.1.2. It looks like it always brings data as utf8 (if that's the databases character set) and then converts it to utf16 on the client. Is there a way to set the session to use utf16 by default? Usually this is done using OCI_UTF16 in the OCIEnvCreate call or using OCI_UTF16ID in OCIEnvNlsCreate. Am I correct that this would be the preferred method when using d2009?
I've been playing with the QueryGrid demo under d2009 and I can't seem to get the following query to return the unicode data properly (it seems to be converted to ansi at some point):
select 'αβγδεζηθ4' from dual;
Should this be possible? I've tried various DOA options and NLS_LANG settings. Thanks for any comments or suggestions!
-Mark
I'm a bit confused on Unicode support in DOA 4.1.2. It looks like it always brings data as utf8 (if that's the databases character set) and then converts it to utf16 on the client. Is there a way to set the session to use utf16 by default? Usually this is done using OCI_UTF16 in the OCIEnvCreate call or using OCI_UTF16ID in OCIEnvNlsCreate. Am I correct that this would be the preferred method when using d2009?
I've been playing with the QueryGrid demo under d2009 and I can't seem to get the following query to return the unicode data properly (it seems to be converted to ansi at some point):
select 'αβγδεζηθ4' from dual;
Should this be possible? I've tried various DOA options and NLS_LANG settings. Thanks for any comments or suggestions!
-Mark