OTL 4.0, Examples for MySQL / MyODBC 5.1, Unicode

The examples below show how to use OTL with MyODBC 5.1 (and higher) connector and Unicode based strings. These examples should work with MySQL 5.0 and higher. The database default character set needs to be set to UTF-8.
  1. Example 700  (Simple Unicode Insert/Select and VARCHAR strings)
  2. Example 701 (Simple Unicode Insert/Select with LONGTEXT)
  3. Example 702 (Simple Unicode Insert/Select with LONGTEXT, and LOB streams)
  4. Example 703 (Simple Unicode Insert/Select and #define OTL_UNICODE_CHAR_TYPE)
  5. Example 704 (Simple Unicode Insert/Select and #define OTL_UNICODE_STRING_TYPE)
  6. Example 705 (Unicode LONGTEXT Insert/Select and #define OTL_UNICODE_STRING_TYPE)

Contents  Go Home

Copyright © 1996-2024, 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.