-
Notifications
You must be signed in to change notification settings - Fork 357
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
fix: revert Encoding API #474
fix: revert Encoding API #474
Conversation
I think we could have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there! Just some minor changes!
Hi @richarddavison , All have been addressed. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 👏
Issue # (if available)
#431 (comment)
Description of changes
Revert to the implementation prior to applying
encoding_rs
for optimal performance and footprint.Support forutf16le
is not included in this PR because we are not sure if it can be done immediately.For UTF-16LE, only the conversions required by TextDecoder are supported.
Checklist
tests/unit
and/or in Rust for my feature if neededmake fix
to format JS and apply Clippy auto fixesmake check
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.