I’m glad you found this code useful.
Replace any special characters in your PDF text with the code found in the WIN
column in the PDF reference pg. 997 - 1000
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf
You could modify the pdfDocPageAddText method for special characters by
altering $1 at the top of the method. For example to get the Euro to show
correctly use:
$1:=Replace string($1;"€";"\\200”)
For the character 0x00BF "question down" use WIN code 277
$1:=Replace string($1;"¿";"\\277”)
Neil
--
Neil Dennis
4D Developer since 1990
GreaText - Designing Software for the Way You Work
716 East 1850 N
North Ogden, UT 84414
mailto:[email protected]
http://www.greatext.com/
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************