I have been searching for this issue for quite a while, please do not be quick to give me similar questions, here is the issue:
- I installed and configured unixodbc on ubuntu, connected it to oracle and connection works
- I installed and configured php-odbc, also works with the unixodbc and connects to oracle
- The issue is that it retrieves data in ASCII and I cannot find any proper way to force it to use utf8.
odbc_exec($this->link, "ALTER SESSION SET NLS_CHARACTERSET=UTF-8")– Marc Vanhoomissen Oct 03 '19 at 11:51