title: iReport preview/exporter output not handling UTF-8 translations?
body: <p>I'm trying to make my reports work with a translations bundle. No matter what I try, I can't seem to render UTF-8 for any language - I just get two broken characters for every UTF-8 character.</p>
  
  <p>My report starts with this: <code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</code>
  ...but iReport preview doesn't work,</p>
  
  <p>and my actual code has this:</p>
  
  <pre><code>JRProperties.setProperty("net.sf.jasperreports.default.pdf.encoding", "UTF-8");
  exporter.setParameter(JRExporterParameter.CHARACTER_ENCODING, "UTF-8")
  </code></pre>
  
  <p>Neither seems to be able to output UTF-8. What could possibly be going on here? I'm pulling my hair out. Even with the font set to <code>Arial</code>, I'm having issues. My web-app is using the same font and similar bundles with Grails, and I have no issues there, so something is happening specific to jasperreports.</p>
  
  <p><b>EDIT:</b>
  I thought byte order markers may have been the issue, but it isn't. I've created a basic report that shows the failure in 4.0.2. </p>
  
  <p>Here's the resource bundle:</p>
  
  <p><img src="https://i.stack.imgur.com/cqmVb.png" alt="Greek properties file"></p>
  
  <p>And the output in iReport:</p>
  
  <p><img src="https://i.stack.imgur.com/hg5Jn.png" alt="enter image description here"></p>
  
  <p>And here's the <a href="http://dl.dropbox.com/u/5142994/stackoverflow/report1.jrxml" rel="noreferrer">report</a>, and the <a href="http://dl.dropbox.com/u/5142994/stackoverflow/report.properties" rel="noreferrer">properties</a> file used to observe these results.</p>
  
  <p><strong>Nore information:</strong>
  When the properties files are saved in ANSI encoding, I can get all german characters, including ä and ß. When the properties files are saved as UTF-8, only ASCII characters work.</p>