pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1686585 - /pdfbox/branches/1.8/preflight/src/test/java/org/apache/pdfbox/preflight/TestIsartorValidationFromClasspath.java
Date Sat, 20 Jun 2015 12:09:15 GMT
Author: tilman
Date: Sat Jun 20 12:09:15 2015
New Revision: 1686585

URL: http://svn.apache.org/r1686585
Log:
PDFBOX-2837: avoid input being read as EBCDIC in non ASCII systems

Modified:
    pdfbox/branches/1.8/preflight/src/test/java/org/apache/pdfbox/preflight/TestIsartorValidationFromClasspath.java

Modified: pdfbox/branches/1.8/preflight/src/test/java/org/apache/pdfbox/preflight/TestIsartorValidationFromClasspath.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/preflight/src/test/java/org/apache/pdfbox/preflight/TestIsartorValidationFromClasspath.java?rev=1686585&r1=1686584&r2=1686585&view=diff
==============================================================================
--- pdfbox/branches/1.8/preflight/src/test/java/org/apache/pdfbox/preflight/TestIsartorValidationFromClasspath.java
(original)
+++ pdfbox/branches/1.8/preflight/src/test/java/org/apache/pdfbox/preflight/TestIsartorValidationFromClasspath.java
Sat Jun 20 12:09:15 2015
@@ -189,7 +189,7 @@ public class TestIsartorValidationFromCl
         InputStream is = Class.class.getResourceAsStream("/Isartor testsuite.list");
         if (is != null)
         {
-            BufferedReader reader = new BufferedReader(new InputStreamReader(is));
+            BufferedReader reader = new BufferedReader(new InputStreamReader(is, "ISO-8859-1"));
             String line = reader.readLine();
             while (line != null)
             {



Mime
View raw message