If you are doing automation on windows and you are redirecting the output of different commands (internal cmd.exe or external, you\'ll discover that your log fi
cmd.exe
binmode(STDOUT, ":unix");
without
use encoding 'utf8';
Helped me. With that i had wide character in print warning.