-
Notifications
You must be signed in to change notification settings - Fork 920
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
Use charset-normalizer instead of chardet #744
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
charset-normalizer Has been used as far as I can tell correctly and will allow the project to be used by many more projects
* commit '1bf3c42b59125f4491d863e1c11dca7ebbe96adc': Use charset-normalizer instead of chardet (pdfminer#744) Refactor ImageWriter and add method for exporting an image from bytes. (pdfminer#737) Log warning and continue gracefully if errors in cmap (pdfminer#731) Fix log.debug statement in lzw.py by ensuring that self.table is always set (pdfminer#732) Raise KeyError when name in name2unicode is not of type str (pdfminer#733) Convert fontname to str if it is bytes in HTMLConverter (pdfminer#734) Fix github actions tag regex Fix github actions tag regex Bump version Add github action for releasing to pypi if git tag is added. (pdfminer#727)
As the maintainer of the Is there a specific incompatibility that prompted pinning Thanks! |
Nope, there was not. The dependency cap has been removed (yesterday) in here: #755 (comment). Thanks for notifying us about this. |
Thanks! |
Jumping on this: Is there any need to actually pin |
Pull request
Fix #739.
Use charset-normalizer instead of chardet. It has a less restrictive
licence, is faster and supports more encodings.
How Has This Been Tested?
Ran test suite. Checked that other big projects are using it. It should
be a stand-in replacement.
Checklist
works
version
is not necessary
verified that this is not necessary
CHANGELOG.md