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)).
[ Parent
| on HN ]