"TYPO3 4.0.1: typo3_src-4.0.1/typo3/sysext/adodb/adodb/drivers/adodb-odbtp_unicode.inc.php Source File", "datetime" => "Sat Dec 2 19:22:26 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
00001 <?php 00002 /* 00003 V4.90 8 June 2006 (c) 2000-2006 John Lim (jlim#natsoft.com.my). All rights reserved. 00004 Released under both BSD license and Lesser GPL library license. 00005 Whenever there is any discrepancy between the two licenses, 00006 the BSD license will take precedence. See License.txt. 00007 Set tabs to 4 for best viewing. 00008 Latest version is available at http://adodb.sourceforge.net 00009 */ 00010 00011 // Code contributed by "Robert Twitty" <rtwitty#neutron.ushmm.org> 00012 00013 // security - hide paths 00014 if (!defined('ADODB_DIR')) die(); 00015 00016 /* 00017 Because the ODBTP server sends and reads UNICODE text data using UTF-8 00018 encoding, the following HTML meta tag must be included within the HTML 00019 head section of every HTML form and script page: 00020 00021 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 00022 00023 Also, all SQL query strings must be submitted as UTF-8 encoded text. 00024 */ 00025 00026 if (!defined('_ADODB_ODBTP_LAYER')) { 00027 include(ADODB_DIR."/drivers/adodb-odbtp.inc.php"); 00028 } 00029 00030 class ADODB_odbtp_unicode extends ADODB_odbtp { 00031 var $databaseType = 'odbtp'; 00032 var $_useUnicodeSQL = true; 00033 00034 function ADODB_odbtp_unicode() 00035 { 00036 $this->ADODB_odbtp(); 00037 } 00038 } 00039 ?>