title: Forcing proper charset encoding of the filename of uploaded file in Play 2.0.4
body: <p>I have annoying problem with non-latin characters in names of uploaded files. I'm using upload method pretty similar as in the <a href="http://www.playframework.com/documentation/2.0.4/JavaFileUpload" rel="nofollow">Play's doc</a> (extended by DB operations) and while running <code>dist</code> vrsion on the unix machines, everything is OK. In Windows - which is a production server - non-latin characters are damaged, for an example:</p>
  
  <pre><code>return ok(uploadFile.getFilename());
  </code></pre>
  
  <p>gives me: <code>zaÅ¼Ã³Å‚Ä‡_gÄ™Å›la_jaÅºÅ„.png</code> instead of <code>zażółć_gęśla_jaźń.png</code> </p>
  
  <p>How can I avoid this and/or force reading and writing filenames always with the same encoding?</p>
  
  <p><strong>Edit</strong> </p>
  
  <p>I just discovered, that when starting app with <code>play start</code> (instead of <code>dist</code> + <code>start.bat</code>) filename is written properly... that just confuses me even more o.O</p>