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

decoder option to ignore truncated symbol on the end of input #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

amje
Copy link

@amje amje commented Feb 15, 2017

Hello!

I have a case where client code may receive truncated byte string from server. The string completely valid as UTF-8 except cropped ending. It would be nice to allow ignoring broken endings.

@coveralls
Copy link

coveralls commented Feb 15, 2017

Coverage Status

Coverage increased (+0.4%) to 93.007% when pulling a893c9c on amje:ignore-broken-ending into 5566334 on mathiasbynens:master.

@amje amje changed the title decoder option to ignore invalid UTF-8 on the end of input decoder option to ignore invalid UTF-8 on the end of input [WIP] Feb 16, 2017
@amje amje changed the title decoder option to ignore invalid UTF-8 on the end of input [WIP] decoder option to ignore truncated symbol on the end of input Feb 16, 2017
@coveralls
Copy link

coveralls commented Feb 16, 2017

Coverage Status

Coverage increased (+0.5%) to 93.103% when pulling 158c9b1 on amje:ignore-broken-ending into 5566334 on mathiasbynens:master.

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.

None yet

2 participants