eRx captured and displayed in AMC report,
[openemr.git] / library / adodb / drivers / adodb-odbtp_unicode.inc.php
blobce939614a03cbf1f7c9103cd2505a8790d1f8167
1 <?php
2 /*
3 V5.14 8 Sept 2011 (c) 2000-2011 John Lim (jlim#natsoft.com). All rights reserved.
4 Released under both BSD license and Lesser GPL library license.
5 Whenever there is any discrepancy between the two licenses,
6 the BSD license will take precedence. See License.txt.
7 Set tabs to 4 for best viewing.
8 Latest version is available at http://adodb.sourceforge.net
9 */
11 // Code contributed by "Robert Twitty" <rtwitty#neutron.ushmm.org>
13 // security - hide paths
14 if (!defined('ADODB_DIR')) die();
17 Because the ODBTP server sends and reads UNICODE text data using UTF-8
18 encoding, the following HTML meta tag must be included within the HTML
19 head section of every HTML form and script page:
21 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
23 Also, all SQL query strings must be submitted as UTF-8 encoded text.
26 if (!defined('_ADODB_ODBTP_LAYER')) {
27 include(ADODB_DIR."/drivers/adodb-odbtp.inc.php");
30 class ADODB_odbtp_unicode extends ADODB_odbtp {
31 var $databaseType = 'odbtp';
32 var $_useUnicodeSQL = true;
34 function ADODB_odbtp_unicode()
36 $this->ADODB_odbtp();