title: Django charset and encoding
body: <p>I am trying to store and view greek characters from/to a Mysql db.</p>
  <p>I want to use utf8 encoding i alter my db with the following command:</p>
  <pre><code>ALTER DATABASE el CHARACTER SET utf8 COLLATE utf8_general_ci
  </code></pre>
  <p>Now when i am trying to create an article i see the following error:</p>
  <p><img src="https://i.stack.imgur.com/VCwpl.png" alt="error page" /></p>
  <p>When i am trying to fetch the article from my db i see something like:</p>
  <pre><code>mysql&gt; select * from article_article
      -&gt; ;
  +----+------------+----------+-------------+----------------------------------------------------------------------------------+----------+------+-------+-------+--------------+---------------------+---------------------+-----------+
  | id | submenu_id | title    | url         | body                                                                             | image_id | hits | votes | grade | publisher_id | time_upload         | last_modified       | published |
  +----+------------+----------+-------------+----------------------------------------------------------------------------------+----------+------+-------+-------+--------------+---------------------+---------------------+-----------+
  |  1 |          1 | ???????? | ssss-d-ssss | &lt;p&gt;&amp;epsilon;&amp;lambda;&amp;lambda;&amp;eta;&amp;nu;&amp;iota;&amp;kappa;?&lt;/p&gt;
  &lt;p&gt;&amp;nbsp;&lt;/p&gt;
  &lt;p&gt;?&lt;/p&gt; |        9 |    0 |     0 |   2.5 |            1 | 2013-04-11 10:39:30 | 2013-04-11 11:02:01 |         1 |
  +----+------------+----------+-------------+----------------------------------------------------------------------------------+----------+------+-------+-------+--------------+---------------------+---------------------+-----------+
  1 row in set (0.00 sec)
  </code></pre>
  <p>I use tinymce for bodyfield..(Tinymce save greek characters very bad)</p>
  <p>I also check that in admin page something like the following is missing:</p>
  <pre><code>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
  </code></pre>
  <p>How can i configure django for utf8 format?
  How can i configure tinymce for Emding Greek Chars normally?</p>
  <p><strong>Edit:</strong> changing the collate of the field with mysql commands solve the problem.
  Also changing <code>entity_encoding</code> from <code>named</code> to <code>raw</code> in tiny_mce.js solve and the second problem.The only problem now is that the warning doesn't disapear :(</p>