mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-04 19:30:53 +00:00
Spell check
This commit is contained in:
parent
b63e17fffb
commit
74d66a9349
|
@ -13,7 +13,7 @@
|
||||||
CLI parsing feature, which has been restored in 10.6.2. Fixes #652.
|
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
|
* 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.
|
meanings in those two encoding systems. Fixes #650.
|
||||||
|
|
||||||
2022-02-11 Jay Berkenbilt <ejb@ql.org>
|
2022-02-11 Jay Berkenbilt <ejb@ql.org>
|
||||||
|
|
|
@ -423,6 +423,7 @@ void transcoding_test()
|
||||||
// These are characters are either valid in PDFDoc and invalid in
|
// These are characters are either valid in PDFDoc and invalid in
|
||||||
// UTF-8 or the other way around.
|
// UTF-8 or the other way around.
|
||||||
std::string other("w\x18w\x19w\x1aw\x1bw\x1cw\x1dw\x1ew\x1fw\x7fw");
|
std::string other("w\x18w\x19w\x1aw\x1bw\x1cw\x1dw\x1ew\x1fw\x7fw");
|
||||||
|
// cSpell: ignore xadw
|
||||||
std::string other_doc = other + "\x9fw\xadw";
|
std::string other_doc = other + "\x9fw\xadw";
|
||||||
std::cout << QUtil::pdf_doc_to_utf8(other_doc) << std::endl;
|
std::cout << QUtil::pdf_doc_to_utf8(other_doc) << std::endl;
|
||||||
std::string other_utf8 =
|
std::string other_utf8 =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user