Hello, On Tue, Jul 01, 2008 at 11:31:15AM +0200, Hans Hagen wrote:
in pdf traditionally a string (that is, the ones that represented bookmarks and such) were in pdf doc encoding, so
(pdfdoc encoded string)
then they added utf16 support
(utf16bom followed by utf16 sequence
that's still strings. However, at some point another notation was introduced:
<hex sequence>
which again is utf16
or a string using PDFDocEncoding. The <> notation can be used anywhere, where a PDF string is expected regardless of the encoding.
but this time hex encoded (less efficient but so seldom used that it does not really matter)
Not to forget: Some characters inside (...) need to be escaped
(`\', unmatched `(' and `)', line ends, ...)
Yours sincerely
Heiko