I have a db2 database with this charset options:
db2 get db cfg for CORRETGE
Database territory = US
Database code page = 1208
Database code set = UTF-8
But when I connect to the database from a PHP 5.4.1.RC1 script with db2_connect(), I get this CONN_CODEPAGE:
public 'APPL_CODEPAGE' => int 819
public 'CONN_CODEPAGE' => int 819
Database has 1208 (UTF-8 encoding of Unicode) codepage and the connection has 819 (ISO8859-1) codepage, and this provoque charset problems.
I don't know how to set 1208 as the CONN_CODEPAGE. Is there any way to do it?