pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1686612 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature.java
Date Sat, 20 Jun 2015 13:14:00 GMT
Author: tilman
Date: Sat Jun 20 13:14:00 2015
New Revision: 1686612

URL: http://svn.apache.org/r1686612
Log:
PDFBOX-2837: avoid string being converted to EBCDIC in non ASCII systems; fix typos

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature.java?rev=1686612&r1=1686611&r2=1686612&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature.java
(original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature.java
Sat Jun 20 13:14:00 2015
@@ -367,7 +367,7 @@ public class PDSignature implements COSO
     }
     fis.close();
     
-    return COSString.createFromHexString(byteOS.toString()).getBytes();
+    return COSString.createFromHexString(byteOS.toString("ISO-8859-1")).getBytes();
   }
   
   /**



Mime
View raw message