XP is just a number | |
PerlMonks |
Fixing suspect characters in HTMLby wfsp (Abbot) |
on Jul 30, 2005 at 12:02 UTC ( [id://479601]=perlquestion: print w/replies, xml ) | Need Help?? |
wfsp has asked for the wisdom of the Perl Monks concerning the following question:
Due to carelessness on my part I had a shed load of html containing suspect characters. The difficulty was having a possible combination of x80-x9F (frowned on by w3c), unicode and html entities (including numeric entities). The strategy I arrived at was to:
This will ensure, hopefully, consistant html and prevent problems during any future processing. What do you reckon? Many thanks to all the monks who have helped. John
Back to
Seekers of Perl Wisdom
|
|