title: YII: UTF8 encoding not working?
body: <p>I have scraped data from a website. This data is placed in a database. When I print the data:</p>
  
  <pre><code>print $row-&gt;description;
  </code></pre>
  
  <p>It comes out looking like this: </p>
  
  <pre><code>â€¢ Shoot great photos in low light with bright lensâ€¢ 
  </code></pre>
  
  <p>I was previously able to fix this by adding:</p>
  
  <pre><code>header('Content-Type: text/html; charset=UTF-8');
  mb_internal_encoding('UTF-8');
  </code></pre>
  
  <p>I've now tried adding this to index.php of YII, but the output doesn't change. I've also tried:</p>
  
  <pre><code>$decoded = utf8_decode($row-&gt;description);
  print $decoded;
  </code></pre>
  
  <p>But then I get:</p>
  
  <pre><code>�?� Shoot great photos in low light with bright lens�?�
  </code></pre>
  
  <p>How can I get this to work in YII?</p>