| Revision 18609,
1.1 KB
checked in by kajiwara, 16 years ago
(diff) |
|
正式版にナイトリービルド版をマージしてみるテスト
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | v4.992 10 Nov 2009 (c) 2000-2009 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 | */ |
|---|
| 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 { |
|---|
| 31 | var $databaseType = 'odbtp'; |
|---|
| 32 | var $_useUnicodeSQL = true; |
|---|
| 33 | |
|---|
| 34 | function ADODB_odbtp_unicode() |
|---|
| 35 | { |
|---|
| 36 | $this->ADODB_odbtp(); |
|---|
| 37 | } |
|---|
| 38 | } |
|---|
| 39 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.