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

Formalize unicode/string handling schema #9

Open
hxu opened this issue Jul 24, 2014 · 1 comment
Open

Formalize unicode/string handling schema #9

hxu opened this issue Jul 24, 2014 · 1 comment

Comments

@hxu
Copy link
Member

hxu commented Jul 24, 2014

lxml has some issues with unicode strings and encoding declarations. At the moment, the code kind of converts between string and unicode in an ad-hoc way. We should formalize a framework for handling this (e.g. strings should be converted to unicode as early as possible).

See http://stackoverflow.com/questions/15302125/html-encoding-and-lxml-parsing and http://lxml.de/parsing.html#python-unicode-strings for discussion

@hxu
Copy link
Member Author

hxu commented Jul 24, 2014

Also this presentation: http://farmdev.com/talks/unicode/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant