aboutsummaryrefslogtreecommitdiffstats
path: root/libtests
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-09 11:47:58 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-09 11:47:58 +0100
commit235c89e037d6d9925cf201cadfa9e0df1771212c (patch)
tree577519c074f38219e6965d39a00a9cf97fdf566d /libtests
parent15248592c9f8f533046c470464cef19911c2b7d4 (diff)
downloadqpdf-235c89e037d6d9925cf201cadfa9e0df1771212c.tar.zst
Fix one more PDF doc encoding error for 10.6 release (fixes #637)release-qpdf-10.6.0
Diffstat (limited to 'libtests')
-rw-r--r--libtests/qtest/qutil/qutil.out4
-rw-r--r--libtests/qutil.cc8
2 files changed, 6 insertions, 6 deletions
diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out
index 8bab099b..aedf49e1 100644
--- a/libtests/qtest/qutil/qutil.out
+++ b/libtests/qtest/qutil/qutil.out
@@ -88,8 +88,8 @@ alternatives
2: 83a9e99e
0: 717561636b
done alternatives
-w˘wˇwˆw˙w˝w˛w˚w˜w�w
-done low characters
+w˘wˇwˆw˙w˝w˛w˚w˜w�w�w
+done other characters
---- whoami
quack1
quack2
diff --git a/libtests/qutil.cc b/libtests/qutil.cc
index e6fc4661..2142346e 100644
--- a/libtests/qutil.cc
+++ b/libtests/qutil.cc
@@ -418,10 +418,10 @@ void transcoding_test()
print_alternatives(utf8);
print_alternatives("quack");
std::cout << "done alternatives" << std::endl;
- std::string low = QUtil::pdf_doc_to_utf8(
- "w\030w\031w\032w\033w\034w\035w\036w\037w\177w");
- std::cout << low << std::endl;
- std::cout << "done low characters" << std::endl;
+ std::string other = QUtil::pdf_doc_to_utf8(
+ "w\030w\031w\032w\033w\034w\035w\036w\037w\177w\255w");
+ std::cout << other << std::endl;
+ std::cout << "done other characters" << std::endl;
}
void print_whoami(char const* str)