title: Yii And UTF8 Display, UTF8 works with mysqli but not yii backend
body: <p>I've been struggling to get Yii to correctly display utf8 even though both my apache server and my database are setup to correctly display it. </p>
  
  <p>More specifically, I have a set of kanji/kana data that I'm pulling from a mysql database. As a simple test on it, I set up a view page to pull data from it with mysqli and with yii's mvc architecture. When pulled with mysqli, it displays correctly while when pulled with yii it does not. And this is from the same exact page which also means it's from the same exact controller. <strong>Am I missing something with forcing the model backend to use utf8 encode?</strong></p>
  
  <p>Image: <a href="http://i.imgur.com/BLmrP.png" rel="nofollow">http://i.imgur.com/BLmrP.png</a></p>
  
  <p>Here's the code I'm using in the view file for yii's mvc stuff:</p>
  
  <pre><code>&lt;?php $this-&gt;widget('zii.widgets.grid.CGridView', array(
      'dataProvider'=&gt;$dataProvider,
      'enablePagination' =&gt; false,
  )); ?&gt;
  </code></pre>
  
  <p>And then the mysqli is about what you'd expect.</p>
  
  <p>Any help would be appreciated. </p>