Skip to content

Commit 4b53f08

Browse files
committed
PDFBOX-6026: fix conversion
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1926838 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6a126fb commit 4b53f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ void testEmptyDate() throws XmpParsingException, TransformerException, NoSuchAlg
391391
+ "<?xpacket end=\"w\"?>";
392392
DomXmpParser xmpParser = new DomXmpParser();
393393
xmpParser.setStrictParsing(false);
394-
XMPMetadata xmp = xmpParser.parse(xmpmeta.getBytes());
394+
XMPMetadata xmp = xmpParser.parse(xmpmeta.getBytes(StandardCharsets.UTF_8));
395395
checkTransform(xmp, "12127125812762553969536294425864809210802519304519294152028982122058554009237");
396396
}
397397

0 commit comments

Comments
 (0)