I'd be interested in seeing the output if you added
print Dumper($text); print XML::Simple->VERSION; [download]
In reply to Re: Encoding differences by ikegami in thread Encoding differences by EDevil