Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Convert HTML symbols to equivalent Unicodeby jai_dgl (Beadle) |
on Apr 14, 2009 at 12:38 UTC ( [id://757380]=note: print w/replies, xml ) | Need Help?? |
Thanks for your reply,
I spider some web pages and pull some information from them. Then I use HTML::Entities::encode_entities() function to convert the special characters when ® is passed to it, it is converted to ® When HTML::Entities::encode_numeric() is used it gives ® My final idea is to write a XML file with its Unicode equivalent(U+00AE). Thanks
In Section
Seekers of Perl Wisdom
|
|