Pdo\Oracle doesn't take 'charset' => 'uft8'

Hi!, I'm setting: $config = new \Phalcon\Config(array( 'database' => array( "dbname" => "//192.168.0.1:1521/SOMESID", "username" => "user", "password" => "pass", 'charset' => 'utf8', ) ));

new Phalcon\Db\Adapter\Pdo\Oracle($config);

but, when I make a query doesn't print the ñ,á,é,í,ó,ú

Have you copy and pasted that code? It's UTF8, not UFT8. I don't use Oracle but based on this table from the Oracle documentation, this should work:

$config = new \Phalcon\Config(array( 'database' => array( "dbname" => "//192.168.0.1:1521/SOMESID", "username" => "user", "password" => "pass", 'charset' => 'utf8', ) ));


525

Hi Sid Roberts, in my code I've: "charset" => "utf8", was my mistake writing the question.