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

feat: support alternate encodings #38

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: support alternate encodings #38

wants to merge 1 commit into from

Conversation

ianprime0509
Copy link
Owner

@ianprime0509 ianprime0509 commented Oct 15, 2024

Closes #37

I'm not 100% sure about this design yet. I will need to at least implement and test a "spec-compliant" UTF-8/16-guessing encoding before merging this.

In particular, the current design is unfortunate in that it does not integrate with Reader's error handling and reporting mechanism. Neither do I/O errors when reading, though, and I think it's fine to have encoding errors fall into this bucket.

TODO: do something with the "guess" function added in this design.

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

Successfully merging this pull request may close these issues.

Non-UTF-8 encoding support
1 participant