News for hackers. Stuff that matters.
Re:Streaming UTF-8 (with node.js) by Sephr on Tuesday May 18, 2010 @11:39AM (#1357811)
This script is unnecessary, as JavaScript already has functions which can facillitate encoding and decoding of UTF-8. Encoding UTF-8 to a bytestring is unescape(encodeURIComponent(string)) and decoding UTF-8 is decodeURIComponent(escape(string)).
Re:Streaming UTF-8 (with node.js) by div on Tuesday May 18, 2010 @12:53PM (#1358110)
But this script handles streaming utf-8 encoded strings correctly.