I’m creating a form using Zend_Form, and all he words that contains diacritics are not rendered. The encoding is set to UTF-8, the collation of the database is set to utf-8_unicode. What else should I do/check?
The page header:
<meta content="text/html; charset=utf-8" http-equiv="content-type">
The Zend_form part:
$user = Doctrine::getTable("aclUser")->find(1, Doctrine_Core::HYDRATE_ARRAY);
$this->addElement('text','providerName',
array(
'label' => 'Provider_name',
'required' => false,
'readonly' => true,
'value' => $user['name'],
'filters' => array('StringTrim'),
'decorators'=> array(new Application_Form_Decorators_Custom())
)
);
Solved. I added this settings in my.cnf and now everything is rendered ok: