$ perl -Mutf8 -MEncode -e'print encode("latin-1", "sub fête {}\n");' \ | perl Illegal declaration of subroutine main::f at - line 1.