Wonko the sane has asked for the wisdom of the Perl Monks concerning the following question:
into thier numeric representations.´ &
So.
& would be converted to &
¡ would be converted to ¡
and so on.
I need this to work for ALL of the HTML entities. I am trying to get out of writting
a search and replace regex for all 255 of the different HTML entities like this. :)
I find it hard to believe that there is not a module already out ther that can do this for me.
Any help or pointer on solving this problem would be much appreciated.
Best Regards,
Wonko
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting HTML Entities to thier numeric equivalent
by Ovid (Cardinal) on Dec 09, 2004 at 20:48 UTC | |
by Wonko the sane (Curate) on Dec 09, 2004 at 21:12 UTC | |
|
Re: Converting HTML Entities to their numeric equivalent
by Roy Johnson (Monsignor) on Dec 09, 2004 at 20:35 UTC |