# phpman > perldoc > CGI::Simple::Util

## NAME
    [CGI::Simple::Util](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASimple%3A%3AUtil/markdown) - Internal utilities used by [CGI::Simple](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASimple/markdown) module

## SYNOPSIS
        $escaped     = escapeHTML('In HTML you need to escape < > " and & chars');
        $unescaped   = unescapeHTML('&lt;&gt;&quot;&amp;');
        $url_encoded = escape($string);
        $decoded     = unescape($url_encoded);

## DESCRIPTION
    [CGI::Simple::Util](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASimple%3A%3AUtil/markdown) contains essentially non public subroutines used by [CGI::Simple](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASimple/markdown). There are
    HTML and URL escape and unescape routines that may be of some use.

    An internal object is used to store a number of system specific details to enable the escape
    routines to be accurate.

## AUTHOR INFORMATION
    Original version copyright 1995-1998, Lincoln D. Stein. All rights reserved. Originally
    copyright 2001 Dr James Freeman <<jfreeman@tassie.net.au>> This release by Andy Armstrong
    <<andy@hexten.net>>

    This library is free software; you can redistribute it and/or modify it under the same terms as
    Perl itself.

    Address bug reports and comments to: <andy@hexten.net>

## SEE ALSO
    [CGI::Simple](https://www.chedong.com/phpMan.php/perldoc/CGI%3A%3ASimple/markdown)

