OTL 4.0, Examples for Oracle 10g, UTF8

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.

Prev NextContentsGo Home

Copyrigh5 © 1996-2017, Sergei Kuchin, email: skuchin@gmail.com, skuchin@gmail.com .

Permission to use, copy, modify and redistribute this document for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.