diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-15 14:29:29 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-15 14:32:38 +0100 |
commit | 1065bbb0165b4608bd715866332751be9213cd51 (patch) | |
tree | 1d6a5687ec36503843abd1629e7b42e376708042 /libqpdf/QPDFTokenizer.cc | |
parent | 2b8d0f385b56d2a7307679ace4c50adbdbbddd03 (diff) | |
download | qpdf-1065bbb0165b4608bd715866332751be9213cd51.tar.zst |
Handle odd PDFDoc codepoints in UTF-8 during transcoding (fixes #650)
There are codepoints in PDFDoc that are not valid UTF-8 but map to
valid UTF-8. We were handling those correctly with bidirectional
mapping.
However, if those same code points appeared in UTF-8, where they have
no meaning, they were left as fixed points when converting to PDFDoc,
where they do have meaning. This change recognizes them as errors.
Diffstat (limited to 'libqpdf/QPDFTokenizer.cc')
0 files changed, 0 insertions, 0 deletions