Skip to content

Commit

Permalink
Fixed XML encoding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tshaffe1 committed Jul 10, 2014
1 parent ab826cb commit 556132a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edu/ysu/itrace/solvers/XMLGazeExportSolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.awt.Dimension;
import java.awt.Toolkit;
import java.io.File;
import java.io.FileWriter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Date;
import java.util.Iterator;
Expand Down Expand Up @@ -83,7 +83,7 @@ public void init() {
}

responseWriter =
outFactory.createXMLStreamWriter(new FileWriter(outFile));
outFactory.createXMLStreamWriter(new FileOutputStream(outFile), "UTF-8");
} catch (IOException e) {
throw new RuntimeException("Log files could not be created: "
+ e.getMessage());
Expand Down

0 comments on commit 556132a

Please sign in to comment.