in reply to Re^3: Entities confuse encoding in XML::Simple
in thread Entities confuse encoding in XML::Simple
I _think_ number entities like &x### are legal in xml and should be either left untouched or maybe "converted" into the utf8 char?my @xml = <FILE>; # slurp .. close(FILE); foreach( @xml){ # Ugly hack to keep XML::Simple(?) from double encoding certain stri +ngs, # see: perlmonks.org/index.pl?node_id=660162 and perlmonks.org/index +.pl?node_id=215678 s/&/&/g; }
|
|---|