Module "encode_js"
==================

Javascript encoder
 
function encode_js(text);
-------------------------

This function encodes a string so it is perfectly quoted for javascript.
The characters \, ', ", &, <, >, newline and tab are encoded using \ooo
sequences. The resulting string is _not_ quoted because it is hard to tell
for this function if you prefer single or double quotes.

This function is designed to be used with the encoding/quoting operator (::).
 
