Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: XML::Parser and numeric entitiesby ikegami (Patriarch) |
on Jan 14, 2010 at 02:53 UTC ( [id://817327]=note: print w/replies, xml ) | Need Help?? |
It simply decodes the entities. It doesn't then encode the character using UTF-8. If you want all non-ASCII characters encoded, you can use:
There's also a handler you can use instead of Char that receives the entities still encoded, but then you're not guaranteed to have all non-ASCII characters encoded.
In Section
Seekers of Perl Wisdom
|
|