title: Ruby on Rails 3, incompatible character encodings: UTF-8 and ASCII-8BIT with i18n
body: <p>I've got some troubles with the couple Rails 3.0.1, Ruby 1.9.2 and my website localization.</p>
  
  <p>The problem is quite simple, i've got something like that in a view :</p>
  
  <pre><code>f.input :zip_code, :label =&gt; I18n.t('labels.zip_code')
  </code></pre>
  
  <p>and a es.yml file :</p>
  
  <pre><code>es:
    labels:
      zip_code: "Este código postal no es valido."
  </code></pre>
  
  <p>There are no troubles with the en.yml file (it's pure ASCII) but when the website is set with <code>i18n.locale == 'es'</code> I get this error :</p>
  
  <pre><code>incompatible character encodings: UTF-8 and ASCII-8BIT
  </code></pre>
  
  <p>I have been looking around for quite a while but didn't found a way to use my UTF-8 translation files.</p>
  
  <p>Did some knows how to make it works ?</p>
  
  <p>Thanks for your help.</p>