Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docsplit.extract_text generates a String with a null byte #152

Open
cedricpim opened this issue Jul 9, 2019 · 0 comments
Open

Docsplit.extract_text generates a String with a null byte #152

cedricpim opened this issue Jul 9, 2019 · 0 comments

Comments

@cedricpim
Copy link

Hello,

First of all, thank you for the gem.

Second, I currently have a pdf that, when put through Docsplit.extract_text, it creates a file with a null byte character. Shouldn't this be handled by TextCleaner#clean? Or do you think that the issue is within pdftotext/tesseract?

Unfortunately, the pdf that I am using is from a client and I can't provide it. I also haven't been able to manually create one that causes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant