in reply to encoding with filtering from command line

In addition to previous answer.
While in 'use encoding "whatever", Filter => 1;" you really have 'use encoding "whatever","Filter",1;'
and with -M you specify the argument list specified with commas and without any quotes.

Check perlrun.
HtH.

Regards,
Edward
  • Comment on Re: encoding with filtering from command line