SHL-187: Build and Test fail on Windows

This closes #91
This commit is contained in:
Aditya
2016-02-15 21:59:32 -08:00
parent ec9e3d49f8
commit d304f74217
2 changed files with 4 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ public class AbstractTestWithSample {
this.getClass().getSimpleName(), testName.getMethodName());
InputStream stream = TableTest.class.getResourceAsStream(sampleName);
Assert.notNull(stream, "Can't find expected rendering result at " + sampleName);
return FileCopyUtils.copyToString(new InputStreamReader(stream)).replace("&", "");
return FileCopyUtils.copyToString(new InputStreamReader(stream, "UTF-8")).replace("&", "");
}
/**