I wrote a PHP script to querying data from oracle.
The detail information as follow:
Oracle Server : WinNT
Oracle Version : 8.1.7
Client 1 : Windows 2000 server
Client 2 : TurboLinux
Data Character : Chinese Big5
I run the same PHP in those two clients.
In Clinet1(Win) all Chinese can show correctly.
But in Client2(Linux) all Chinese show ??? instead.
Some PHP forums said add two lines can slove this problem,but it still can't slove my problem even I tried them.
They told me modify the apache/bin/apachect1 and add
export NLS_LANG=TRADITIONAL CHINESE.ZHT16BIG5
export ORACLE_HOME=/usr/oracle
I also tried NLS_LANG=AMERICAN_TAIWAN.ZHT16BIG5,but it didn't work too.