-
Notifications
You must be signed in to change notification settings - Fork 255
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
chardet 3.0.0 breaks the behavior of 2.3.0 without a depreciation notice. #113
Comments
This was a completely accidental change on my part. I will push out a bugfix release ASAP. |
Thanks @dan-blanchard! 😄 In the meantime, we've pushed out a new version of |
It should always return self.result, which may contain None values. Fixes #113
@pydanny just released 3.0.2 with this fix. |
Hooray! Testing it now... |
Tests ran great. Just pushed up 0.4.3 of Again, @dan-blanchard, thank you for the quick response. 😄 🍪 |
@dan-blanchard thank you for the hard work on this library 👍 |
0.4.4: * Notify users for file i/o issues. 0.4.3: * Restricted chardet to anything 3.0.2 or higher due to chardet/chardet#113. 0.4.2: * Restricted chardet to anything under 3.0 due to chardet/chardet#113 * Added pyup badge * Added utilities for pushing new versions up
hello, I was trying to solve a issue in
binaryornot
cookiecutter/cookiecutter-django#1118 (comment)Is expected that the
chardet.detect()
function return a dictionary withencoding
andconfidence
keys. However,None
is being returned for some cases.The cases in question is if I try to detect the encoding of the first 1024 bytes of images files. (I do not know if there are other cases like that.)
The question is: Is this the expected result, is a issue or is a documentation issue?
From this snippet and this sample_images.zip:
Chardet 3.0.1 return:
but the expected values to return is
The text was updated successfully, but these errors were encountered: