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
UnicodeEncodeError #8
Comments
2013/3/22 Ilya Shalyapin notifications@github.com
Hi, I did repeat your example, but got no error (I work with python 2.7.3)
Thomas |
Thanks, @drowolath ! |
getdefaultencoding returns 'ascii' , but I don't think it'i a problem. lxml.etree works fine with such files. |
I had the same problem with German and Hebrew characters especially. Importing sys and setting defaultencoding fixed it though. This should really be added to docs. |
Hi!
Cool project. I was looking for something like this. I came across a bug.
I have some xml with unicode chars:
The text was updated successfully, but these errors were encountered: