aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/src')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java
index bffb2974..a152dcf6 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java
@@ -26,6 +26,7 @@ package at.gv.egiz.sl.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
+import java.nio.charset.Charset;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.JAXBException;
@@ -77,6 +78,7 @@ public class BKUSLConnector extends BaseSLConnector {
MultipartEntityBuilder entityBuilder = MultipartEntityBuilder
.create();
+ entityBuilder.setCharset(Charset.forName("UTF-8"));
entityBuilder.addTextBody(XMLREQUEST, xmlRequest,
ContentType.TEXT_XML);