Fix encodding issues in tests.

This commit is contained in:
Paulo Gustavo Veiga
2011-07-03 17:36:30 -03:00
parent c1ed44d627
commit c328a65d97
3 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ public class ImportExportTest {
private String readFile(@NotNull File file) throws IOException {
// Load rec file co
final FileInputStream fis = new FileInputStream(file);
final InputStreamReader isr = new InputStreamReader(fis);
final InputStreamReader isr = new InputStreamReader(fis,"UTF-8");
final BufferedReader br = new BufferedReader(isr);
final StringBuilder result = new StringBuilder();