See HTML::Entities. It has a function named encode_entities_numeric() which does what you're looking for.
Cheers,
Ovid
New address of my CGI Course.
In reply to Re: Converting HTML Entities to thier numeric equivalent
by Ovid
in thread Converting HTML Entities to thier numeric equivalent
by Wonko the sane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |