I had already this :
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
I need nothing else ?
I tought I had to set the HTTP header to UTF-8 also by this php code.
Jack Sleight wrote:
>
> 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
>
>
--
View this message in context:
http://www.nabble.com/Best-place-to-specify-encoding-tf4621717s16154.html#a13199185
Sent from the Zend Framework mailing list archive at Nabble.com.