Skip to content

Commit

Permalink
PDFBOX-5660: simplify string conversion, by Axel Howind
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1914596 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Dec 12, 2023
1 parent 0aafa3e commit cc338f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected void endPage( PDPage pdPage ) throws IOException
{
textWriter.flush();

String page = new String( textOS.toByteArray(), ENCODING );
String page = textOS.toString(ENCODING);
textOS.reset();

// Traitement des listes à puces (caractères spéciaux)
Expand Down

0 comments on commit cc338f9

Please sign in to comment.