3 ms·
code does not work, does not check for invalid UTF-8 characters
by codehero 16y ago
code does not work, does not check for invalid UTF-8 characters
- felixge 16y agoThat is done in Buffer.toString(), this stream filter just makes sure that no string conversion is attempted on a multibyte character that is still incomplete (valid or not).