aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox-2/src/main
diff options
context:
space:
mode:
authorEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-10-30 09:37:01 +0100
committerEmina Ahmetovic <emina.ahmetovic@egiz.gv.at>2020-10-30 09:37:01 +0100
commitcbaa725f4940ba0677feaa76a4556c1d9a14efc5 (patch)
treea22a629d998ad61d6f5cbeec8b439245731ef4bf /pdf-as-pdfbox-2/src/main
parent7f66428916800f37fcc3ea67310d2ef73eb2fa38 (diff)
parent587b3c52aff9eaca6f02279a5976aeeadf08c124 (diff)
downloadpdf-as-4-cbaa725f4940ba0677feaa76a4556c1d9a14efc5.tar.gz
pdf-as-4-cbaa725f4940ba0677feaa76a4556c1d9a14efc5.tar.bz2
pdf-as-4-cbaa725f4940ba0677feaa76a4556c1d9a14efc5.zip
resolving merge conflicts
Diffstat (limited to 'pdf-as-pdfbox-2/src/main')
-rw-r--r--pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFAsVisualSignatureBuilder.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFAsVisualSignatureBuilder.java b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFAsVisualSignatureBuilder.java
index b797fec8..d30604d3 100644
--- a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFAsVisualSignatureBuilder.java
+++ b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox2/PDFAsVisualSignatureBuilder.java
@@ -324,8 +324,9 @@ public class PDFAsVisualSignatureBuilder extends PDVisibleSigBuilder implements
// String innerFormComment = "q 1 0 0 1 0 0 cm /" + imageObjectName +
// " Do Q\n";
- String innerFormComment = new String(getStructure().getInnerFormStream().toByteArray(), "ISO-8859-1");
-
+ //String innerFormComment = new String(getStructure().getInnerFormStream().toByteArray(), "ISO-8859-1");
+ String innerFormComment = new String(getStructure().getInnerFormStream().toByteArray(), "UTF-8");
+
// .getInputStreamAsString();//TODO: pdfbox2 - get the string from the stream
// logger.debug("Inner Form Stream: " + innerFormComment);