note 40178 added to ref.oci8
| From: | oddbec_no_more_spam_kthx at online dot no | Date: | Tue, 24 Feb 2004 13:49:38 +0000 |
| Subject: | note 40178 added to ref.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65647@lists.php.net to get a copy of this message | ||
I had trouble with norwegian characters using oracle 8.7.1 / php 4something and Apache 2.
The only trouble was that '?' appeared instead of the norwegian characters.
The solution to it all was to add this to the apachectl script:
export NLS_LANG="norwegian_norway.WE8ISO8859P1"
export ORACLE_BASE="/home/oracle"
export ORA_NLS33="/home/oracle/ocommon/nls/admin/data"
export ORACLE_TERM="ansi"
export ORACLE_HOME="/home/oracle"
export LANG="no_NO"
I'm not sure if all of these are necessary, but I took no change, and it works now :)
----
Manual Page -- http://www.php.net/manual/en/ref.oci8.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40178
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40178&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40178&report=yes
Search -- http://master.php.net/manage/user-notes.php