-
Notifications
You must be signed in to change notification settings - Fork 286
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
Allow selecting decode errors bahaviour #87
Comments
@stefanor That would be a good idea. Am I right in saying that this should be a non boolean value? something like |
@Alir3z4 I'm afraid it's not fixed, just check the code here: No option to ignore errors. Have you seen one anywhere? |
Looks like backward compatibility needs 'strict'. Also, losing some characters should be acknowledged IMO. |
Yes, thanks. Also, looks like it would be nice catching this UnicodeDecodeError and recommending to use the new option. |
@int-ua Something like |
@theSage21 Thanks for the heads up. |
Forwarded from https://bugs.launchpad.net/ubuntu/+source/python-html2text/+bug/1318227
Currently it stops conversion on any decode error:
But for the files I'm working on it would be perfectly fine just to add
It can be exposed as an option.
The text was updated successfully, but these errors were encountered: