Reputation: 114695
I'm processing some XML files (specifically .vcproj
files) in Perl and I want to unescape the special characters. The escaped characters I've encountered so far are:
"



Obviously I can do this myself but it seems that there should be a standard (or CPAN) module to do this but a naive search brings up nothing relevant.
Any ideas?
Upvotes: 7
Views: 2096
Reputation: 98398
XML::Entities
or the older HTML::Entities
. I've only used the latter.
Searching probably would have been easier for you if you'd known that these things are called entities; I hate it when I'm in that position of not knowing the key information that would make a search possible.
Upvotes: 8