Fix i18n encodding issue.

This commit is contained in:
Paulo Gustavo Veiga
2012-11-19 22:47:20 -03:00
parent b717a5f910
commit c3dcd8f3a9
3 changed files with 21 additions and 44 deletions

View File

@@ -26,8 +26,9 @@ import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import java.text.DateFormat;
import java.util.*;
import java.util.regex.Pattern;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
public class MindMapBean {
private Mindmap mindmap;
@@ -124,10 +125,7 @@ public class MindMapBean {
}
public String getXmlAsJsLiteral() throws IOException {
final String xmlAsJsLiteral = this.mindmap.getXmlAsJsLiteral();
// Firefox is failing for this. Need to be reviewed ...
return xmlAsJsLiteral.replace("\\u0000","");
return this.mindmap.getXmlAsJsLiteral();
}
public String getProperties() throws WiseMappingException {