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

Character encoding detection #1

Open
achudnov opened this issue May 3, 2014 · 0 comments
Open

Character encoding detection #1

achudnov opened this issue May 3, 2014 · 0 comments

Comments

@achudnov
Copy link
Owner

achudnov commented May 3, 2014

Right now character encodings are taken from HTTP headers. While the RFC mandates that encodings be specified, some websites don't do that. Right now the library assumes UTF-8 if no encoding is specified in Content-Type. However, this is brittle. A better way is to use character encoding detection, for example, from text-icu. This has been started in the chardet branch.

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

No branches or pull requests

1 participant