aboutsummaryrefslogtreecommitdiffstats
path: root/manual/qpdf-manual.xml
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-01-23 23:58:23 +0100
committerJay Berkenbilt <ejb@ql.org>2021-01-24 09:27:28 +0100
commit04edfe9fade7e77342f5e4fe694ee071554a119c (patch)
treee198ad6dd5d6e4759728c333363898d41690cf6e /manual/qpdf-manual.xml
parent63e5cb533de0567612ef5ab373d02f90880a8653 (diff)
downloadqpdf-04edfe9fade7e77342f5e4fe694ee071554a119c.tar.zst
QPDFObjectHandle::newUnicodeString to uses UTF-16 only when needed
Use the first of ASCII, PDFDocEncoding, or UTF-16 that is capable of encoding the string.
Diffstat (limited to 'manual/qpdf-manual.xml')
-rw-r--r--manual/qpdf-manual.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml
index a969ce32..e2b5a83e 100644
--- a/manual/qpdf-manual.xml
+++ b/manual/qpdf-manual.xml
@@ -4824,6 +4824,26 @@ print "\n";
<itemizedlist>
<listitem>
<para>
+ Behavior Changes
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <function>QPDFObjectHandle::newUnicodeString</function> now
+ uses whichever of ASCII, PDFDocEncoding, of UTF-16 is
+ sufficient to encode all the characters in the string. This
+ reduces needless encoding in UTF-16 of strings that can be
+ encoded in ASCII. This change may cause qpdf to generate
+ different output than before when form field values are set
+ using <classname>QPDFFormFieldObjectHelper</classname>.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem>
+ <para>
Library Enhancements
</para>
<itemizedlist>