summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2012-07-19 20:16:34 (EDT)
committerjmisinco2012-07-19 20:16:34 (EDT)
commit7a3a7c0d32c10e1e2a5f882763c26241440acf0f (patch)
tree5cfd2b3942e8ef81c89d078a52cb891d804559de
parent36b8c90f7dbdc24096a52a1b9739089829b7b508 (diff)
downloadorg.eclipse.osee-7a3a7c0d32c10e1e2a5f882763c26241440acf0f.zip
org.eclipse.osee-7a3a7c0d32c10e1e2a5f882763c26241440acf0f.tar.gz
org.eclipse.osee-7a3a7c0d32c10e1e2a5f882763c26241440acf0f.tar.bz2
refactor[ats_PD0BB]: Add a property to Jaxp to suggest UTF-8 encoding
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java
index f70f135..7614d50 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java
@@ -528,6 +528,7 @@ public class Jaxp {
Properties format = new Properties();
format.put(OutputKeys.METHOD, "xml");
format.put(OutputKeys.INDENT, "yes");
+ format.put(OutputKeys.ENCODING, "UTF-8");
format.put("{http://xml.apache.org/xslt}indent-amount", "2");
return format;
}
@@ -539,6 +540,7 @@ public class Jaxp {
Properties format = new Properties();
format.put(OutputKeys.METHOD, "xml");
format.put(OutputKeys.INDENT, "no"); //minimized
+ format.put(OutputKeys.ENCODING, "UTF-8");
return format;
}