aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 53b219ce..a2f54a73 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -442,6 +442,13 @@ class QPDFObjectHandle
// Methods for string objects
QPDF_DLL
std::string getStringValue();
+ // If a string starts with the UTF-16 marker, it is converted from
+ // UTF-16 to UTF-8. Otherwise, it is treated as a string encoded
+ // with PDF Doc Encoding. PDF Doc Encoding is identical to
+ // ISO-8859-1 except in the range from 0200 through 0240, where
+ // there is a mapping of characters to Unicode. QPDF versions
+ // prior to version erroneously left characters in that range
+ // unmapped.
QPDF_DLL
std::string getUTF8Value();