From 9a45d0402a2105eea2c264002a71c5132f4e2e1b Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 6 Apr 2011 17:51:16 -0300 Subject: [PATCH] Fix stupid mistake. --- .../main/java/com/wisemapping/exporter/ExporterFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java b/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java index 5372e41d..e47417f9 100644 --- a/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java +++ b/wise-webapp/src/main/java/com/wisemapping/exporter/ExporterFactory.java @@ -117,8 +117,7 @@ public class ExporterFactory { } case SVG: { final Document dom = normalizeSvg(mapSvg, imgPath); - String s = domToString(dom); - output.write(null); + output.write(domToString(dom).getBytes("UTF-8")); break; } case FREEMIND: {