From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- .../adodb-php/drivers/adodb-odbtp_unicode.inc.php | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 vendor/adodb/adodb-php/drivers/adodb-odbtp_unicode.inc.php (limited to 'vendor/adodb/adodb-php/drivers/adodb-odbtp_unicode.inc.php') diff --git a/vendor/adodb/adodb-php/drivers/adodb-odbtp_unicode.inc.php b/vendor/adodb/adodb-php/drivers/adodb-odbtp_unicode.inc.php new file mode 100644 index 0000000..b41b1fd --- /dev/null +++ b/vendor/adodb/adodb-php/drivers/adodb-odbtp_unicode.inc.php @@ -0,0 +1,35 @@ + + +// security - hide paths +if (!defined('ADODB_DIR')) die(); + +/* + Because the ODBTP server sends and reads UNICODE text data using UTF-8 + encoding, the following HTML meta tag must be included within the HTML + head section of every HTML form and script page: + + + + Also, all SQL query strings must be submitted as UTF-8 encoded text. +*/ + +if (!defined('_ADODB_ODBTP_LAYER')) { + include(ADODB_DIR."/drivers/adodb-odbtp.inc.php"); +} + +class ADODB_odbtp_unicode extends ADODB_odbtp { + var $databaseType = 'odbtp'; + var $_useUnicodeSQL = true; +} -- cgit v1.2.3-70-g09d2