Skip to content

Commit b4de669

Browse files
committed
PDFBOX-5660: avoid default encoding
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1927158 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3f05017 commit b4de669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ private boolean hasNoFollowingBinData() throws IOException
337337
int endOpIdx = -1;
338338
String s = "";
339339

340-
LOG.debug("String after EI: '{}'", () -> new String(binCharTestArr));
340+
LOG.debug("String after EI: '{}'", () -> new String(binCharTestArr, StandardCharsets.US_ASCII));
341341

342342
if (readBytes > 0)
343343
{

0 commit comments

Comments
 (0)