I see! This was the bit I was missing:
open(NEW, '>:encoding(UTF-8)', $outfile)That seems to do the trick. Thanks for the tips! Really appreciate it.
In reply to Re^7: XML::Twig and file encoding
by slugger415
in thread XML::Twig and file encoding
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |