![Offline Offline](./styles/subsilver2/imageset/en/icon_user_offline.gif) |
Supporter |
![User avatar](./download/file.php?avatar=4725_1279119884.jpg) |
Joined: Thu May 27, 2010 7:40 pm Posts: 59 Location: New Hampshire, USA
|
Having this problem myself.
Yes, it's possible to have doc prop fields like /Title, /Keywords, etc have unicode characters.
I haven't figured out how to make that happen however. What we have to do if we want to use these object constructs is to write the values out as hex bytes.
We've found that:
/Title <FEFF65876863>
Render a unicode character in the title property when examined in a pdf reader. Note that it appears we have to use UTF16(BigEndian) byte ordering and I believe it must start with "FEFF" and the entire string be surrounded with angle brackets.
Unfortunately, just setting the Title value to a string containing these hex bytes doesn't seem to do the trick as it is written to the file like this: note the parentheses that make this a literal string I'm guessing.
/Title (<FEFF65876863>)
Is there some other way to set this Title property that would allow it to be written as just the hex byte string I built?
-Jeff
|
|