The examples below show how to use OTL
with Oracle 10g and UTF8 based
strings. At the database level,, the string format may vary, and at
least at the C++ level all string data gets converted into '\0'
teminated byte arrays because UTF8 is byte oriented. In order to
enable OTL/OCI10g and UTF8, the following
#defines need to be defined: #define
OTL_ORA10G, #define
OTL_ORA_UTF8. #define
OTL_UNICODE supports
UTF-16 and #define OTL_ORA_UTF8 supports UTF8.
See
Oracle 9i UTF8 /
OCI examples for more detail, they should work for Oracle 10g.