Merge branch 'master' into wise-org-pela

This commit is contained in:
Paulo Gustavo Veiga 2011-07-03 17:37:05 -03:00
commit 804e66f91e
3 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ public class FreemindExporter
public void export(MindMap map, OutputStream outputStream) throws ExportException {
try {
export(map.getUnzippedXml().getBytes(), outputStream);
export(map.getUnzippedXml().getBytes("UTF-8"), outputStream);
} catch (IOException e) {
throw new ExportException(e);
}

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();