Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1216

Symfony1.2 is not binding special characters correctly

$
0
0

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/


Viewing all articles
Browse latest Browse all 1216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>