summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2010-04-18 22:51:21 +0200
committerDavid A. Madore <david+git@madore.org>2010-04-18 22:51:21 +0200
commit4076342660f63f41bd5d25479c8e8588bbaaf3ae (patch)
treef99cc6d7bd4b8f8d2bf054491530b4b41e534ea2
parentb3177265e0da7d02b99b98d6d70bcb1cda9ff2cd (diff)
downloaddamlengine-4076342660f63f41bd5d25479c8e8588bbaaf3ae.tar.gz
damlengine-4076342660f63f41bd5d25479c8e8588bbaaf3ae.tar.bz2
damlengine-4076342660f63f41bd5d25479c8e8588bbaaf3ae.zip
Force encoding on unparsing.
-rw-r--r--org/madore/damlengine/DamlEngine.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org/madore/damlengine/DamlEngine.java b/org/madore/damlengine/DamlEngine.java
index 63f1442..36dd3c4 100644
--- a/org/madore/damlengine/DamlEngine.java
+++ b/org/madore/damlengine/DamlEngine.java
@@ -47,7 +47,8 @@ public final class DamlEngine {
processDocument(doc);
doc.normalizeDocument();
Unparser unparser
- = new Unparser(doc, new OutputStreamWriter(System.out));
+ = new Unparser(doc, new OutputStreamWriter(System.out,
+ "UTF-8"));
unparser.unparse();
}