Hello.
I am using sfDoctrine and I need to connect to Oracle with charset defined in
PDO's dsn.
The working pdo connection identifier should look like this:
oci:host=localhost;port=1521;dbname=XE;charset=AL32UTF8
I don't know, what is the best way to get charset into the string.
I found, that there is a method Connection::setCharset, which I can't use,
because oracle hasn't any possibility to change charset after establishing a
connection.
Because I am using sfDoctrine, I do not find a way how to bypass my own PDO
instance into Doctrine_Manager.
Therefor I crate a patch for Manager.php (attachement), but I don't know, if
this is the right way how to do it.
Thank's for any proposals
--
Miloslav Kmet