title: ASP MVC Entity Framework Code First Mysql UTF 8 Database
body: <p>I'm creating a database using EF Code First and MySql from an ASP MVC project.  The problem is that I'm not able to set the encoding to UTF8.</p>
  <p>From what I've read I have to set <code>Charset=utf8;</code>. But it's not working.</p>
  <pre><code>&lt;add name=&quot;ArticleEntities&quot; connectionString=&quot;Server=localhost;Port=3306;Database=db; Uid=user; Pwd=pass$;Charset=utf8;&quot; providerName=&quot;MySql.Data.MySqlClient&quot; /&gt;
  </code></pre>
  <p>Am I doing something wrong here?</p>