Re: Reading a pdf text file
Re: Reading a pdf text file
- Subject: Re: Reading a pdf text file
- From: Rob Stott <email@hidden>
- Date: Tue, 25 Jan 2005 12:26:16 +0000
I don't have any German or encrypted files to test this on, so I had to remove those options to get it to work; BUT pdftotext does not seem to like your '-enc utf-8' construction.
...an interesting development - I tried altering the shell script to kick out an html document like this;
set theResult to do shell script ("/usr/local/pdftotext -eol mac -raw -htmlmeta " & quoted form of pdfPosixPath & " " & quoted form of outputPosixPath)
(rest of script the same... see earlier email)
...when I opened the HTML in Safari, all the 'odd' characters worked fine. So I have a work around - its just a bit annoying that it can't all be done in one line of shell script as you'd expect... or maybe it can... heres hoping!
r.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden