Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
TypeError
by Ignoring null characters in PSBaseParser (#768)
* Ignore null characters in PSBaseParser Beforehand, null characters were encoded as PSKeyword tokens. This caused issue #617, as pdfdevice.py would attempt to decode the null character PSKeyword, when it expects a byte string, as opposed to a PSKeyword, causing pdfminer.six to crash. As null characters are superfluous within PSBaseParser, ignore them. * Update CHANGELOG.md Co-authored-by: Pieter Marsman <[email protected]>
- Loading branch information