Skip to content

Commit

Permalink
Fixing build failure on windows - TRUNK-5681
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Nov 25, 2019
1 parent 6d1212a commit ddd39ac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.nio.charset.StandardCharsets;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
Expand Down Expand Up @@ -689,7 +690,7 @@ public void executeDataSet(String datasetFilename) {
throw new FileNotFoundException("Unable to find '" + datasetFilename + "' in the classpath");
}

reader = new InputStreamReader(fileInInputStreamFormat);
reader = new InputStreamReader(fileInInputStreamFormat, StandardCharsets.UTF_8);
ReplacementDataSet replacementDataSet = new ReplacementDataSet(
new FlatXmlDataSet(reader, false, true, false));
replacementDataSet.addReplacementObject("[NULL]", null);
Expand Down

0 comments on commit ddd39ac

Please sign in to comment.