Also this is what's printed to STDOUT:
That is only half -- is that infile our outfile?
You're using 2 arg open and you forgot to binmode, see perlunitut: Unicode in Perl#I/O flow (the actual 5 minute tutorial) and Is there a way to automatically decode or encode?
In reply to Re^6: XML::Twig and file encoding
by Anonymous Monk
in thread XML::Twig and file encoding
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |