note 83969 deleted from function.oci-connect by sixd
| From: | sixd@php.net | Date: | Tue, 10 Nov 2009 22:26:04 +0000 |
| Subject: | note 83969 deleted from function.oci-connect by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-162722@lists.php.net to get a copy of this message | ||
Note Submitter: sxid at php dot net
----
If PHP is built with Oracle 9.2 or greater client libraries, the
charset parameter is used to determine the character set used by the
Oracle client libraries. When PHP is built with older Oracle client
libraries, or if the parameter is not passed, Oracle NLS environment
variables such as NLS_LANG will be used to determine the character
set.
The character set does not need to match that used by the database.
If it doesn't, Oracle will do its best to convert data to and from the
database character set. Depending on the character sets, this may not
which may always be give usable or valid results, and it can reduce
overall performance
Because passing the parameter removes the environment look up, it can
improve connection performance