Closed diasisac closed 3 years ago
Same here, PDF file is not secured and can be opened as normal
Same here, no solution?
Same here.
Same here. I'm using a non secured PDF 1.6 file. The Error occurres at PdfParser/Parser.php::102. It seems like, the regex in parseContent() can not find the xref data. After saving the file as PDF 1.3 the parsing works fine until accessing the content, then it runs into mb_convert_encoding(): Illegal character encoding specified. Any idea?
I'm using version 0.16.0
EDIT by @k00ni: Embedded screenshot for better reading.
I am not aware of any solution.
Could you provide us upload the PDF which triggers the exception? It must be free to use and will be part of our test suite.
We made some changes recently regarding the mb_convert_encoding(): Illegal character encoding specified
error (#313).
I assume you use 0.16.0
? Could you try again with master
branch?
We made some changes recently regarding the
mb_convert_encoding(): Illegal character encoding specified
error (#313).I assume you use
0.16.0
? Could you try again withmaster
branch?
Thanks, this fixed the issue with version 1.3 PDF.
But the original v1.6 PDF file still runs into the error Object list not found. Possible secured file.
OK, i will prepare a new release (0.16.1) so at least the encoding problem goes away. For the other one I need a PDF uploaded here so we can make a "failing" test to outline this problem still exist.
FYI, new release 0.16.1
https://github.com/smalot/pdfparser/releases/tag/0.16.1 is available.
Got the same error. Object list not found (0.16.1)
Same problem.
Ao enviar PDF libraries/pdfparse