From 0cce4a4a66e147176c817ca8deb5099e76d49a12 Mon Sep 17 00:00:00 2001 From: Simon Steiner Date: Wed, 15 Jun 2022 09:35:11 +0000 Subject: Fix warnings git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1901933 13f79535-47bb-0310-9956-ffa450edef68 --- .../fo/FO2StructureTreeConverterTestCase.java | 2 +- .../org/apache/fop/complexscripts/fonts/ttx/TTXFile.java | 16 ++++++++-------- .../apache/fop/layoutengine/LayoutEngineTestUtils.java | 2 +- .../intermediate/IFStructureTreeBuilderTestCase.java | 2 +- fop/build.xml | 1 + 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java b/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java index d00526b10..4b933e98d 100644 --- a/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java +++ b/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java @@ -183,7 +183,7 @@ public class FO2StructureTreeConverterTestCase { @Test public void testRemoveTableHeader() throws Exception { keepEmptyTags = false; - String fo = IOUtils.toString(getResource("table-artifact.fo")).replace("role=\"artifact\"", ""); + String fo = IOUtils.toString(getResource("table-artifact.fo"), "utf8").replace("role=\"artifact\"", ""); compare(fo, "\n" + "\n" + " + -- cgit v1.2.3