utf8.js
utf8.js copied to clipboard
decoder option to ignore truncated symbol on the end of input
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.
Coverage increased (+0.4%) to 93.007% when pulling a893c9c2bb187ac8950aed896d66f749e9fae66f on amje:ignore-broken-ending into 5566334e1aa5347ba652c38dc186df08b47d8fb9 on mathiasbynens:master.