That seems to indicate that the problem is that STDOUT is just a string rather than the actual filehandle when it's passed into encoding::import via the -M command line parameter.use encoding (split(/,/, 'utf16,STDOUT,utf8', 0));
In reply to Re: Strange interaction between command line and encoding
by bpphillips
in thread Strange interaction between command line and encoding
by VSarkiss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |