use HTML::Entities; my $html = "bad stuff here"; $html = encode_entities($html, "\x80-\xff");
In reply to Re: A Perl/CGI alternative to PHP's htmlentities()?
by madbombX
in thread A Perl/CGI alternative to PHP's htmlentities()?
by Spidy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |