PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
Does your filename consist of only that Russian letter? The angle bracket representation for strings is just a way of specifying a sequence of bytes (a string) as 2 hex codes per byte. You might try encoding the filename containing the Russian letter as utf8, then use the angle bracket representation to write the string for readability. The reader might recognize that (based on the locale of your machine). Jon Anderson http://www.bengtcg.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Persits Sent: Thursday, October 09, 2003 1:48 PM To: [EMAIL PROTECTED] Subject: [PDFdev] Filespec: Unicode filenames 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 To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
