|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: XML::Parser and numeric entitiesby ikegami (Pope) |
| on Jan 14, 2010 at 02:53 UTC ( #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
|
|
||||||||||||||||||||||