-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
parser.from_buffer breaks on unicode #47
Comments
Hey @acaceres2176 check this out:
Try that as a work-around for now. I will put some more resiliency into the library to guard against this. Working on it now. |
@acaceres2176 see above in #48 - that fixes it for me without having to set encoding to UTF-8 in my shell:
Try it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Platform: Ubuntu 14.04
Python version: 2.7.x
The following breaks:
with the exception:
A workaround is something like the following:
which works as expected. However, this won't be acceptable for any non-html content and most html content.
The text was updated successfully, but these errors were encountered: