[fpc-pascal] Searching Text Files

Michael Schnell mschnell at lumino.de
Wed Mar 19 12:58:59 CET 2014


On 03/19/2014 12:19 AM, Martin Collins wrote:
>  One of the things I want to do is search for text/phrases within the 
> pdfs.
Do you already know in what way text is coded in PDFs ?

I suppose this can be very complicated.

  - finding the areas in the file that in fact contain text
  - using the appropriate decompression (AFAIK, PDFs can )
  - finding out the code (such as ANSIxxx, UTF-8, UTF16, or whatever) 
the text is stored in.

-Michael



More information about the fpc-pascal mailing list