|Subject:||Request For Enhancement Binary/UTF-8 Data Support|
|Date:||Wed, 7 Jan 2009 19:08:05 -0800|
|To:||"bug-XML-Dumper [...] rt.cpan.org" <bug-XML-Dumper [...] rt.cpan.org>|
|From:||Milton Ngan <milton [...] valvesoftware.com>|
From looking at the code, the xml_escape function in XML::Dumper should be replaced with something more comprehensive, like the HTML::Entities::encode_numeric function. To work around the limitation in xml_escape, I just replaced your code with this call and it works fine, since XML::Parser::Expat handles unescaping the escaped numeric entities just fine.