note 40178 modified in ref.oci8 by sixd
| From: | sixd@php.net | Date: | Thu, 10 Apr 2008 22:12:01 +0000 |
| Subject: | note 40178 modified in ref.oci8 by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138140@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 :)
--was--
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 :)
http://php.net/manual/en/ref.oci8.php