PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Hello everyone,

<< /Type /Filespec
    /F (filename.txt)
>>

In a filespec dictionary, how do you specify a Unicode file name?

The PDF Ref says: "In PDF 1.2 or higher a file specification may contain
multiple-byte character codes represented in hexadecimal form between angle
brackets." (3.10.1). That is pretty much all it says.

I tried to encode the russian letter Ж (unicode 0x0416) in many ways, with
or without angle brackets, Little Endian, Big Endian, with and without
Unicode markers, but the Reader refuses to recognize the file name. I tried:

/F <0416>
/F <1604>
/F <FFFE0416>
/F <FEFF0416>
/F <FFFE1604>
/F <FEFF1604>

but all in vain. Is it even possible?

Thanks in advance.

Peter


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to