Revision 34,
1.1 KB
checked in by niltonneto, 17 years ago
(diff) |
Versão nova do ADODB (4.5 para 4.95)
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[2] | 1 | <?php |
---|
| 2 | /* |
---|
[34] | 3 | V4.94 23 Jan 2007 (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved. |
---|
[2] | 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 | */ |
---|
| 10 | |
---|
| 11 | // Code contributed by "Robert Twitty" <rtwitty#neutron.ushmm.org> |
---|
| 12 | |
---|
| 13 | // security - hide paths |
---|
| 14 | if (!defined('ADODB_DIR')) die(); |
---|
| 15 | |
---|
| 16 | /* |
---|
| 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: |
---|
| 20 | |
---|
| 21 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
| 22 | |
---|
| 23 | Also, all SQL query strings must be submitted as UTF-8 encoded text. |
---|
| 24 | */ |
---|
| 25 | |
---|
| 26 | if (!defined('_ADODB_ODBTP_LAYER')) { |
---|
| 27 | include(ADODB_DIR."/drivers/adodb-odbtp.inc.php"); |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | class ADODB_odbtp_unicode extends ADODB_odbtp { |
---|
[34] | 31 | var $databaseType = 'odbtp'; |
---|
[2] | 32 | var $_useUnicodeSQL = true; |
---|
| 33 | |
---|
| 34 | function ADODB_odbtp_unicode() |
---|
| 35 | { |
---|
| 36 | $this->ADODB_odbtp(); |
---|
| 37 | } |
---|
| 38 | } |
---|
[34] | 39 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.