Don't ask to ask, just ask | |
PerlMonks |
Re: Substitute some Unicodes with their escapesby Corion (Patriarch) |
on Jun 09, 2020 at 13:56 UTC ( [id://11117867]=note: print w/replies, xml ) | Need Help?? |
Have you looked at HTML::Entities, which has
... which should be more or less what your table does. If you have other characters that should not be encoded, you can add them to the above range. Update: See also HTML::HTML5::Entities, which even allows you to bring your own entity tables.
In Section
Seekers of Perl Wisdom
|
|