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

Encoding error parameter is not used for default encoding #9

Closed
gromgull opened this issue May 26, 2014 · 1 comment
Closed

Encoding error parameter is not used for default encoding #9

gromgull opened this issue May 26, 2014 · 1 comment
Assignees
Labels

Comments

@gromgull
Copy link

Hi,

If you do not pass an explicit encoding, and no charset meta-tag is found, the encoding-errors parameter is not used:

return html.decode("utf8")
(and L97)

It would be nice if you could have errors ignored/replaced even for the default encoding.

@miso-belica
Copy link
Owner

Hi, I don't think L93 is an issue, because I just trying to force to UTF-8 there. But L97 is definitely a bug. I'll fix it later today, thanks.

@miso-belica miso-belica self-assigned this May 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants