in reply to Re^2: XML::Simple throws decode error in encode.pm
in thread XML::Simple throws decode error in encode.pm
As already hinted at, XMLin() doesn't like already decoded input; it wants bytes/octets. IOW, simply open the file as
open my $etax, '<', $input or ... # ^ no :utf8
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: XML::Simple throws decode error in encode.pm
by Anonymous Monk on Aug 04, 2010 at 21:14 UTC | |
|
Re^4: XML::Simple throws decode error in encode.pm
by Anonymous Monk on Aug 05, 2010 at 17:11 UTC |