I use ActivePerl on WIN7.
I've found a useful script for converting ANSI to UTF8 (call it utf8.pl):
open (OUT, ">c:\\dottorandiUTF8.xml");
print OUT encode('utf8', $file_con);
but I'd like to use NOT fixed paths to the file to convert (like c:\\dottorandi.xml) but the STDIN and STDOUT, so I can call the script from the command line like:
I've try to use:
open (OUT, <STDOUT>);
but without luck.
Where's my error?