vrogier / ocilib

OCILIB (C and C++ Drivers for Oracle) - Open source C and C++ library for accessing Oracle databases
http://www.ocilib.net
Apache License 2.0
325 stars 119 forks source link

OCI_RefToText() return garbage when charset is OCI_CHARSET_WIDE #334

Open vrogier opened 1 year ago

vrogier commented 1 year ago

OCI_RefToText() return garbage when charset is OCI_CHARSET_WIDE.

underlying Oracle OCI method OCIRefToHex() is always returning ANSI strings despite OCI environment initialized in UTF16 mode :(.

vrogier commented 1 year ago

And OCI call OCIRefHexSize() returns the size and an ANSI hex string....