Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
/**
3
 * ODBTP Unicode driver.
4
 *
5
 * @deprecated will be removed in ADOdb version 6
6
 *
7
 * Because the ODBTP server sends and reads UNICODE text data using UTF-8
8
 * encoding, the following HTML meta tag must be included within the HTML
9
 * head section of every HTML form and script page:
10
 * <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
11
 * Also, all SQL query strings must be submitted as UTF-8 encoded text.
12
 *
13
 * This file is part of ADOdb, a Database Abstraction Layer library for PHP.
14
 *
15
 * @package ADOdb
16
 * @link https://adodb.org Project's web site and documentation
17
 * @link https://github.com/ADOdb/ADOdb Source code and issue tracker
18
 *
19
 * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause
20
 * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option,
21
 * any later version. This means you can use it in proprietary products.
22
 * See the LICENSE.md file distributed with this source code for details.
23
 * @license BSD-3-Clause
24
 * @license LGPL-2.1-or-later
25
 *
26
 * @copyright 2000-2013 John Lim
27
 * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community
28
 * @author Robert Twitty <rtwitty@neutron.ushmm.org>
29
 */
30
 
31
// security - hide paths
32
if (!defined('ADODB_DIR')) die();
33
 
34
if (!defined('_ADODB_ODBTP_LAYER')) {
35
	include_once(ADODB_DIR."/drivers/adodb-odbtp.inc.php");
36
}
37
 
38
class ADODB_odbtp_unicode extends ADODB_odbtp {
39
	var $databaseType = 'odbtp';
40
	var $_useUnicodeSQL = true;
41
}