From 4bb3046f0b139337a00e9182c9b47d1a3f8f8bb3 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 17 Feb 2018 18:47:57 -0500 Subject: Properly handle strings with PDF Doc Encoding (fixes #179) The QPDF_String::getUTF8Val() method was not treating strings that weren't explicitly Unicode as PDF Doc Encoded. This only affects characters in the range 0x80 through 0xa0. --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6c9e581e..8c78fb9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-02-17 Jay Berkenbilt + * Fix QPDFObjectHandle::getUTF8Val() to properly handle strings + that are encoded with PDF Doc Encoding. Fixes #179. + * Add qpdf_check_pdf to the "C" API. This method just attempts to read the entire file and produce no output, making possible to assess whether the file has any errors that qpdf can detect. -- cgit v1.2.3-54-g00ecf