Perl Variable HTML Escape and UnEscape
Go to
www.cgiscript.net
for more free tools!
Description:
Use this code to
convert non-word characters to
the html format. This is useful for displaying forms populated with
variables that have odd characters or for 'escaping' variables prior to
saving them to a database.
Directions:
Follow Steps 1
and 2 below. Use the 'Grab Text' buttons to select the code within the adjacent
textarea. Then use Control-C or Edit -> Copy to buffer the text for pasting
into your document.