title: What can I do to fix an encoding problem after switching from SQLite to MySQL?
body: <p>I recently deployed my application. For development I used SQLite and everything was right so far. I have a controller which uses Nokogiri to populate data into my database.</p>
  
  <p>The problem is on production I'm using MySQL instead of SQLite and now my script is populating the data with the wrong encoding.</p>
  
  <p>For instance, it writes <code>"AragÃ³n"</code> instead of <code>"Aragón"</code>. The MySQL is using utf8 for both the database and every table.</p>