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

Inconsistent Charset error handling in native and JVM #1

Closed
qwwdfsad opened this issue May 21, 2018 · 1 comment
Closed

Inconsistent Charset error handling in native and JVM #1

qwwdfsad opened this issue May 21, 2018 · 1 comment

Comments

@qwwdfsad
Copy link
Member

qwwdfsad commented May 21, 2018

JVM currently replaces all malformed input during decoding while Native silently ignores it.
underflow, overflow, malformed and unmappable flags should be consistent with JVM by default especially in the face of packed-based Input, where some error should be ignored until reading from the next packet of input, and some should be propagated or re-checked on next read, which potentially makes Charset usage error-prone

@fzhinkin
Copy link
Collaborator

We're rebooting the kotlinx-io development (see #131), all issues related to the previous versions will be closed. Consider reopening it the issue will remain (or the feature is still missing) in a new version.

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

2 participants