News for hackers. Stuff that matters.
Re:Streaming UTF-8 (with node.js) by codehero on Tuesday May 18, 2010 @11:40AM (#1357821)
code does not work, does not check for invalid UTF-8 characters
Re:Streaming UTF-8 (with node.js) by felixge on Tuesday May 18, 2010 @12:27PM (#1358018)
That 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).