claird / PyPDF4

A utility to read and write PDFs with Python
obsolete-https://pythonhosted.org/PyPDF2/
Other
328 stars 61 forks source link

unexpected escape string #55

Open kirk86 opened 5 years ago

kirk86 commented 5 years ago

Unable to read pdf files with strange filenames. For instance, I have pdfs with filenames [author1;author2;authorN]_pdf_title_(comment).pdf Every time I try to read a file it throws an error of "unexpected escape string". Opening the pdf in binary mode with open('file', 'rb') works just fine.