Daily Archives: October 22, 2013

Why is Encoding So Confusing?
To embed strings into HTML you have to escape or encode characters such as <, >, and &. To embed strings into URLs you have to encode characters like /, and ?. JavaScript has different rules if you want to embed content in string literals. And then if you want to embed JavaScript in HTML […]