to UTF-8, so you save as ISO-something while the browser expects
UTF-8. Check your settings. On Zend Studio it's in the preferences
under General / Workspace. You can also find it on a per project
basis, right click project, choose properties and there on the
resource part you can see Text file encoding for this specific
project.
On Tue, Oct 26, 2010 at 10:15 AM, vanbom <dro66_8@hotmail.fr> wrote:
>
> hello, I'm trying to redo my blog in zend framewrok 1.10. it starts well,
> 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.
>
--
Greetings,
Christian Riesen
http://christianriesen.com/ - My personal page
http://toreas.com/ - Toreas a free fantasy novel
http://gamewiki.net/ - Open Videogames Wiki
没有评论:
发表评论