controller, layout, view ....
May I meet a worry that I do not understand.
I use an overall layout for the site, and view each page to generate: Title,
description, .... for each page.
mon problème est que quand un Title ou une Description contient un caractère
accentué , rien n'est afficher .
codes :
Applcation/bootstrap.php :
$view->headMeta()->appendHttpEquiv("content-type","text/html;
charset=utf-8");
exemple :
views\scripts\index\index.phtml
<?php $this->headTitle()->append(" caractère accentué")?>
application\layouts\scripts\layout.phtml
<?php echo $this->headMeta();?>
and when I request the page, I get the empty .
but, if I change the "é" and " è" in "e" I get good title: caractere
accentue
thank you in advance for your answers
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/charset-utf-8-and-accented-characters-tp3013294p3013294.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论