diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | libtests/qutil.cc | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -13,7 +13,7 @@ CLI parsing feature, which has been restored in 10.6.2. Fixes #652. * Don't map 0x18 through 0x1f, 0x7f, 0x9f, or 0xad as fixed points - when transcoding UTF-8 to PDFDoc. These codepoints have different + when transcoding UTF-8 to PDFDoc. These code points have different meanings in those two encoding systems. Fixes #650. 2022-02-11 Jay Berkenbilt <ejb@ql.org> diff --git a/libtests/qutil.cc b/libtests/qutil.cc index a1340c0e..b9b7c674 100644 --- a/libtests/qutil.cc +++ b/libtests/qutil.cc @@ -423,6 +423,7 @@ void transcoding_test() // These are characters are either valid in PDFDoc and invalid in // UTF-8 or the other way around. std::string other("w\x18w\x19w\x1aw\x1bw\x1cw\x1dw\x1ew\x1fw\x7fw"); + // cSpell: ignore xadw std::string other_doc = other + "\x9fw\xadw"; std::cout << QUtil::pdf_doc_to_utf8(other_doc) << std::endl; std::string other_utf8 = |