Hi,
I have an issue when I try to strtolower a string that contains accents and
that i try to translate with Zend_Translate, e.g.
strtolower($this->translate('Médecins'))
It will give m<some strange characters>decins
If I don't call strtolower, Médecins is correctly printed.
I have all my pages in UTF-8 without BOM, as well as the translation source
files (which are PHP files containing arrays), and of course
* $this->view->setEncoding('UTF-8');
* <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
* even tried to add header('Content-Type: text/html; charset=utf-8'); for
that specific page but still problems)
Anyone can help ? I'm out of ideas now ... :(
Thank you
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Zend-Translate-and-encoding-issue-tp3789084p3789084.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]