Summary: When using PHP oci8 to get Korean text from oracle server deployed on another machine, question marks displayed rather than Korean chars.
I've tried following steps:
- Environment: Linux Redhat6, Sqlplus, Apache2, PHP5.4, Oracle 11g instant client.
- When using sqlplus, connected to the remote Oracle server, Korean texts can be shown correctly.
- When querying
select * from V$NLS_PARAMETERS Where PARAMETER='NLS_LANGUAGE'
==> KOREAN. - In
/etc/init.d/httpd
file, I've addexport NLS_LANGUAGE=KOREAN
and restarted Apache. Still doesn't work.