Hello,
I'm having trouble in my Zend Framework App displaying the correct characters.
EG/ rue de l'Odéon
Displays as:
rue de l'Od�on
When displaying information through a webservice and also by displaying it through the applications view.
I have tryed the following things:
1) Set the character encoding in the view.
$view->setEncoding('UTF-8');
2) Ensured that col / table encoding on the underlying database is UTF8 (mysql db)
ALTER TABLE tablename CONVERT TO CHARACTER SET utf8;
3) Passed the charset varaible to the Zend_Db::Factory method when creating my Db connection. This is the config section of the object I obtained through the registry.
[_config:protected] => Array
(
[host] => localhost
[username] => root
[password] => ---------------
[dbname] => db_staging
[charset] => utf8
[options] => Array
(
[caseFolding] => 0
[autoQuoteIdentifiers] => 1
)
I feel like I'm out of options, anyone have any insight?
Thank you,
Ben Waine