TYPO3 CMS  TYPO3_7-6
adodb-odbtp_unicode.inc.php
Go to the documentation of this file.
1 <?php
2 /*
3  @version v5.20.3 01-Jan-2016
4  @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved.
5  @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community
6  Released under both BSD license and Lesser GPL library license.
7  Whenever there is any discrepancy between the two licenses,
8  the BSD license will take precedence. See License.txt.
9  Set tabs to 4 for best viewing.
10  Latest version is available at http://adodb.sourceforge.net
11 */
12 
13 // Code contributed by "Robert Twitty" <rtwitty#neutron.ushmm.org>
14 
15 // security - hide paths
16 if (!defined('ADODB_DIR')) die();
17 
18 /*
19  Because the ODBTP server sends and reads UNICODE text data using UTF-8
20  encoding, the following HTML meta tag must be included within the HTML
21  head section of every HTML form and script page:
22 
23  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24 
25  Also, all SQL query strings must be submitted as UTF-8 encoded text.
26 */
27 
28 if (!defined('_ADODB_ODBTP_LAYER')) {
29  include(ADODB_DIR."/drivers/adodb-odbtp.inc.php");
30 }
31 
33  var $databaseType = 'odbtp';
34  var $_useUnicodeSQL = true;
35 }