I need to insert special characters in Oracle database.
My code:
$api_input['forename']='jéíóú';$stmt->bindParam(':forename',$api_input['forename'], PDO::PARAM_STR | PDO::PARAM_INPUT_OUTPUT, 4000);
database.yml
dev:propel: param:classname: DebugPDOqueries: { value: 'SET NAMES UTF8;' }host: ''dsn: 'oci:dbname='username: **password: **sessions_db:class: sfPDODatabaseparam:classname: DoctrinePDOdsn: 'oci:dbname='username: **password: **encoding: utf8_encodecollate: utf8_unicodecharset: utf8persistent: falsepooling: false
But when accessing the same value in Oracle I receive :
jéÃóú
I don't understand if I'm hardcoded value with special characters.
Then how the value is changed when accessing in Oracle procedure.
I have tried all settings but none of solutions work for me.
Why Symfony is changing the input with jéÃóú instead of jéíóú?
I have consulted this link: http://oldforum.symfony-project.org/index.php/m/72587/