Skip to content

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 force-pushed the ignore-broken-ending branch from a893c9c to 158c9b1 Compare February 16, 2017 12:38
@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.

@mathiasbynens mathiasbynens force-pushed the master branch 4 times, most recently from 4eff386 to d4de352 Compare December 4, 2017 03:24
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.

2 participants