title: JRuby 1.7.1 and PsychParser error parsing UTF-8 YAML file (Rails 3.2.8)
body: <p>In our JRuby/Rails project, we are using the <code>i18n</code> gem, and support Japanese as well as English. Our <code>config/locales.ja.yml</code> file is in UTF-8, without any BOM.</p>
  
  <p>When running <code>Rails 3.2.9</code> on <code>JRuby 1.7.1</code>, we now see the following error:</p>
  
  <pre><code>% jruby -S rake spec:models
  
   Psych::SyntaxError: (C:/Projects/foobar/trunk/config/locales/ja.yml): 
     expected &lt;block end&gt;, but found Scalar while parsing a block 
     mapping at line 7 column 33
  
     parse at org/jruby/ext/psych/PsychParser.java:213
     ... 
  </code></pre>
  
  <p>This error for YAML parsing the <code>ja.yml</code> file is now happening on both our Windows XP and Linux development environments, and <em>only seems to go away when we explicitly set the following system parameter for the JVM</em>:</p>
  
  <pre><code>-Dfile.encoding=utf-8
  </code></pre>
  
  <p><strong>Could anyone tell me why this is happening on <code>JRuby 1.7.1</code>?</strong> <br/>
  I didn't see this in <code>1.6.8</code> or <code>1.7.0</code>.</p>