From 235c89e037d6d9925cf201cadfa9e0df1771212c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 9 Feb 2022 05:47:58 -0500 Subject: Fix one more PDF doc encoding error for 10.6 release (fixes #637) --- libtests/qtest/qutil/qutil.out | 4 ++-- libtests/qutil.cc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libtests') 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) -- cgit v1.2.3-54-g00ecf