maven-surefire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r360563 - /maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
Date Sun, 01 Jan 2006 21:55:11 GMT
Author: carlos
Date: Sun Jan  1 13:55:07 2006
New Revision: 360563

URL: http://svn.apache.org/viewcvs?rev=360563&view=rev
Log:
XMLReporter writes incorrect encoding in XML-file
PR: SUREFIRE-24
Submitted By: Simon Kepp Nielsen

Modified:
    maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java

Modified: maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
URL: http://svn.apache.org/viewcvs/maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java?rev=360563&r1=360562&r2=360563&view=diff
==============================================================================
--- maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
(original)
+++ maven/surefire/trunk/surefire/src/main/java/org/apache/maven/surefire/report/XMLReporter.java
Sun Jan  1 13:55:07 2006
@@ -74,7 +74,7 @@
 
         reportDir.mkdirs();
         
-        writer = new PrintWriter( new FileWriter( reportFile ) );
+        writer = new PrintWriter( reportFile, "UTF-8" );
         
         writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n");
         



Mime
View raw message