aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2019-02-18 08:31:36 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2019-02-18 08:31:36 +0100
commit19613c89cb1e4680af4dde6c623c42cd00c65f8a (patch)
tree4b849a5c347d9a177ad30a6f533c0488c99a9031 /id/ConfigWebTool/src/main/java
parentffb4fc9f4ff9e1779ae4da8017fc686881a3e8ae (diff)
downloadmoa-id-spss-19613c89cb1e4680af4dde6c623c42cd00c65f8a.tar.gz
moa-id-spss-19613c89cb1e4680af4dde6c623c42cd00c65f8a.tar.bz2
moa-id-spss-19613c89cb1e4680af4dde6c623c42cd00c65f8a.zip
set UTF-8 encoding as default
add additional trace logging
Diffstat (limited to 'id/ConfigWebTool/src/main/java')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java
index 41a86cef2..39cd0980b 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java
@@ -111,6 +111,9 @@ public class ConfigurationProvider {
private void inizialize() throws ConfigurationException {
+ log.info("Set SystemProperty for UTF-8 file.encoding as default");
+ System.setProperty("file.encoding", "UTF-8");
+
configFileName = System.getProperty(SYSTEM_PROP_CONFIG);
if (configFileName == null) {