News for hackers. Stuff that matters.
Re:Streaming UTF-8 (with node.js) by felixge on Tuesday May 18, 2010 @10:47AM (#1357606)
I didn't know % gets encoded. So you're right, your code does work : )
Re:Streaming UTF-8 (with node.js) by axod on Tuesday May 18, 2010 @11:46AM (#1357858)
FWIW, Checking code or reading API docs is pretty useful :P

firebug works pretty well for testing out code snippets.

The internet is full of enough incorrect information regarding javascript as it is, and if you think about it, % has to be encoded, otherwise anything containing a % would be decoded wrongly ;)