title: JasperReports API: calling JasperCompileManager.compileReport (String) method raised the MalformedByteSequenceException exception
body: <pre><code>public void openReport() {
  
      try {
          HashMap params = new HashMap();
          params.put("aapor", 19);
  
          JasperReport jasperReport1 = JasperCompileManager.compileReport("C:/Users/emidemi.emidemi-PC/Documents/NetBeansProjects/FleetManager/src/FleetManager/newReport5.jasper");
          JasperPrint jasperPrint1 = JasperFillManager.fillReport(jasperReport1, params, conn.getConn());
  
          JRViewer viewer = new JRViewer(jasperPrint1);
  
      } catch (Exception e) {
          System.out.println(e.getMessage());
      }
  }
  </code></pre>
  
  <p>Above is my script. </p>
  
  <p>This is my error:</p>
  
  <pre><code>com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
  BUILD SUCCESSFUL (total time: 7 seconds)
  </code></pre>
  
  <p>Does anyone know why this is occurring and how to fix it?</p>