herpaica
(Carlos Hernandez)
1
Hi,
I try to read correctly the database Oracle with the charset ISO-8859-1, but the result of query data prints the chars �.
The production charset database Oracle can’t been changed, is requeriment ISO-8859-1.
All application yii runs correctly, but the special chars shows badly.
Please, I need suggestions.
Regards.
herpaica
(Carlos Hernandez)
2
[[SOLVED]]
I can find the method to connect to ORACLE with ISO-8859-1 with Oracle Instant Client and the OciPDO.
‘db’=>array
(
'class'=>'CDbConnection',
'connectionString'=>'oci:dbname=SERVER:1521/SCHEMA;charset=UTF8',
'username'=>'USER',
'password'=>'PASSWORD',
),
Oracle, internally converts ISO-8859-1 to UTF-8.
Thanks