Text Escape / Unescape

Escape or unescape strings for JavaScript, HTML, URL encoding, and JSON.