| 1 |
# |
| 2 |
# Author Martin J. Evans (mjevans at cpan dot org) |
| 3 |
# |
| 4 |
|
| 5 |
This document is historical now. If all you want to know is what Unicode |
| 6 |
is supported by DBD::ODBC read the DBD::ODBC pod. |
| 7 |
|
| 8 |
The original Unicode support was written by Alexander Foken and posted |
| 9 |
as a patch. You can find Alexander's original README document in |
| 10 |
README.af (some of this is directly taken from that document). Around |
| 11 |
DBD::ODBC 1.14 Alexander's original patch was adapted to include |
| 12 |
optional Unicode support for UNIX and introduced into DBD::ODBC. |
| 13 |
|
| 14 |
In DBD::ODBC 1.17 the Unicode support in DBD::ODBC on both Windows and |
| 15 |
Unix was enhanced considerably to support unicode SQL strings, column |
| 16 |
names and connection strings (although see caveat below). |
| 17 |
|
| 18 |
Most of the unicode documentation that was here has now moved to the main |
| 19 |
DBD::ODBC pod. |
| 20 |
|
| 21 |
Attributions |
| 22 |
============ |
| 23 |
|
| 24 |
A substantial part of the code to translate between UTF8 and UTF16 |
| 25 |
came from the unicode web site (Unicode Inc) and was authored by Mark |
| 26 |
E. Davis and updated by various (see ConvertUTF.c). This code was |
| 27 |
modified in minor ways to allow ConvertUTF16toUTF8 and |
| 28 |
ConvertUTF8toUTF16 to accept NULL target pointers and return the |
| 29 |
number of bytes required in the target string for the conversion. |
| 30 |
|
| 31 |
A substantial part (most in fact) of the original Unicode support in |
| 32 |
DBD::ODBC for wide bound columns and parameters was written by |
| 33 |
Alexander Foken and simply changed to support UNIX as well as Windows |
| 34 |
by me. |
| 35 |
|
| 36 |
Patches/Problems |
| 37 |
================ |
| 38 |
|
| 39 |
Please see the main README. The best place to discuss DBD::ODBC is on |
| 40 |
the dbi-users mailing list. |