Encoding error
roomoraaes opened this issue · 1 comments
roomoraaes commented
wrseward commented
Hello!
I think you might be able to solve this by using the the pdftotext enc
option as outlined in this answer
You should be able to quickly achieve that by using it in the constructor of the main class like so:
$parser = new \Wrseward\PdfParser\Pdf\PdfToTextParser('pdftotext -enc ASCII7');
Replacing ASCII7
with whatever encoding your file is using.