diff options
author | David A. Madore <david+git@madore.org> | 2010-04-18 22:51:21 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2010-04-18 22:51:21 +0200 |
commit | 4076342660f63f41bd5d25479c8e8588bbaaf3ae (patch) | |
tree | f99cc6d7bd4b8f8d2bf054491530b4b41e534ea2 | |
parent | b3177265e0da7d02b99b98d6d70bcb1cda9ff2cd (diff) | |
download | damlengine-4076342660f63f41bd5d25479c8e8588bbaaf3ae.tar.gz damlengine-4076342660f63f41bd5d25479c8e8588bbaaf3ae.tar.bz2 damlengine-4076342660f63f41bd5d25479c8e8588bbaaf3ae.zip |
Force encoding on unparsing.
-rw-r--r-- | org/madore/damlengine/DamlEngine.java | 3 |
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(); } |