Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Have you tried also setting the headers to utf8? Usually in php i do it this way </p> <pre><code> header ('Content-type: text/html; charset=utf-8'); </code></pre> <p>in your case i think you must use something different. i've taken this example from <a href="http://framework.zend.com/manual/en/zend.controller.response.html" rel="nofollow noreferrer">Zend Framework documentation</a> maybe you should use something different, i'm no expert of Zend_Framework</p> <pre><code>// Within an action controller action: // Set a header $this-&gt;getResponse() -&gt;setHeader('Content-Type', 'text/html') -&gt;appendBody($content); </code></pre> <p>If you set headers, meta and encoding it should work (from your code it seems to me you are only setting meta and encoding)</p> <p>(look at this question to understand what i mean, the answer from Berry Langerak: <a href="https://stackoverflow.com/questions/6264049/php-display-special-characters/6264073#6264073">PHP Display Special Characters</a>)</p> <p>EDIT - i also found another example in this article where it sets the header for a controller, take a look at it,maybe this is what you are looking for : <a href="http://www.chris.lu/en/news/show/4d56d0ecb058c/" rel="nofollow noreferrer">http://www.chris.lu/en/news/show/4d56d0ecb058c/</a></p> <p>This part might be what you are looking for:</p> <pre><code>protected function _initFrontControllerOutput() { $this-&gt;bootstrap('FrontController'); $frontController = $this-&gt;getResource('FrontController'); $response = new Zend_Controller_Response_Http; $response-&gt;setHeader('Content-Type', 'text/html; charset=UTF-8', true); $frontController-&gt;setResponse($response); $frontController-&gt;setParam('useDefaultControllerAlways', false); return $frontController; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload