PrintWriter writer = null;
try {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(new FileOutputStream(reportFile), "UTF-8")));
writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>" + LS);
Xpp3DomWriter.write(new PrettyPrintXMLWriter(writer), testSuite);
}
catch (UnsupportedEncodingException e) {
throw new ReporterException("Unable to use UTF-8 encoding", e);
}
catch (FileNotFoundException e) {