title: Problem encoding UTF8 data from Rails app to Mysql
body: <p>I'm having trouble saving UTF8 data in a form and having it correctly saved in mysql. In particular, via my ruby application I'm post a form that includes the following:</p>
  
  <p><code>Gerhard Tröster</code></p>
  
  <p>Which in my terminal I see is being updated in the database as:</p>
  
  <pre><code>UPDATE `xxxx` SET 
     `updated_at` = '2009-08-13 14:22:33', 
     `description` = '&lt;p&gt;&lt;span style=\"font-size: 14px; line-height: normal; white-space: pre; \"&gt;Gerhard Tr?ster&lt;/span&gt;&lt;/p&gt;' 
  WHERE `id` = 1228
  </code></pre>
  
  <p>However when I select from this table it says:</p>
  
  <pre>
  | description |
  ---------------
  | Gerhard Tr | 
  </pre>
  
  <p>Note that it's simply truncating everything AFTER the umlaut, even though the insert appears to have included it (or something like it). </p>
  
  <p>My database.yml has encoding set to UTF8, I've included the appropriate META tags in my HTML as well. </p>