You can modify the response object in your bootstrap:
$front = new Zend_Front_Controller();
|$|front->getResponse()|
->setHeader('Content-Type', 'text/html');||
|||However if it's an HTML response, the standard way to specify the
encoding is with a meta tag in the head:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
(though you don't *have *to do it like that)
debussy007 wrote:
Hello !
Where is the best place to specify the encoding ?
*I tought in the header which is included by all my view scripts
<?php header('Content-Type: text/html; charset=utf-8'); ?>
* In the action controllers like the reference says :
http://framework.zend.com/manual/en/zend.controller.response.html
But I do not want to specify the utf-8 encoding in each action controller of
my webapp.
Thank you for any clarification.
--
Jack