note 97420 added to book.oci8
| From: | webmaster at moisesjafet dot com | Date: | Mon, 19 Apr 2010 06:57:15 +0000 |
| Subject: | note 97420 added to book.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168389@lists.php.net to get a copy of this message | ||
In order to use UTF8 charset in Oracle, just indicate the bespoke charset in the connection
function.
Example:
$conn = oci_connect('hr', 'welcome', 'localhost/XE',
'AL32UTF8');
Please look on the manual page of oci_connect for details.
If you also want to on the fly localize your app (date formatting, decimal separator, and so on)
additionally use NLS values by alter session statements.
Never forget to indicate the app's charset to the browser for proper display.
----
Server IP: 69.147.83.197
Probable Submitter: 190.80.138.31
----
Manual Page -- http://www.php.net/manual/en/book.oci8.php
Edit -- https://master.php.net/note/edit/97420
Del: integrated -- https://master.php.net/note/delete/97420/integrated
Del: useless -- https://master.php.net/note/delete/97420/useless
Del: bad code -- https://master.php.net/note/delete/97420/bad+code
Del: spam -- https://master.php.net/note/delete/97420/spam
Del: non-english -- https://master.php.net/note/delete/97420/non-english
Del: in docs -- https://master.php.net/note/delete/97420/in+docs
Del: other reasons-- https://master.php.net/note/delete/97420
Reject -- https://master.php.net/note/reject/97420
Search -- https://master.php.net/manage/user-notes.php