mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-15 11:07:57 +01:00
Merge branch 'master' into wise-org-pela
This commit is contained in:
commit
804e66f91e
@ -51,7 +51,7 @@ public class FreemindExporter
|
|||||||
|
|
||||||
public void export(MindMap map, OutputStream outputStream) throws ExportException {
|
public void export(MindMap map, OutputStream outputStream) throws ExportException {
|
||||||
try {
|
try {
|
||||||
export(map.getUnzippedXml().getBytes(), outputStream);
|
export(map.getUnzippedXml().getBytes("UTF-8"), outputStream);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new ExportException(e);
|
throw new ExportException(e);
|
||||||
}
|
}
|
||||||
|
0
wise-webapp/src/test/data/wisemaps/simple-maps.mmr
Normal file
0
wise-webapp/src/test/data/wisemaps/simple-maps.mmr
Normal file
@ -72,7 +72,7 @@ public class ImportExportTest {
|
|||||||
private String readFile(@NotNull File file) throws IOException {
|
private String readFile(@NotNull File file) throws IOException {
|
||||||
// Load rec file co
|
// Load rec file co
|
||||||
final FileInputStream fis = new FileInputStream(file);
|
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 BufferedReader br = new BufferedReader(isr);
|
||||||
|
|
||||||
final StringBuilder result = new StringBuilder();
|
final StringBuilder result = new StringBuilder();
|
||||||
|
Loading…
Reference in New Issue
Block a user