$ ./2.create.bash with_utf8.pl The shebang is specifying bash Using bash 4.4.19(1)-release 1 1.pl -rwxr-xr-x 1 bob bob 125 Dec 6 11:54 1.pl $ file -i *.pl ... 1.pl: text/x-perl; charset=utf-8 2.excel.pl: text/x-perl; charset=us-ascii ... 5.ping4.pl: text/x-perl; charset=us-ascii 6.excel.pl: text/x-perl; charset=us-ascii latin1.pl: text/plain; charset=iso-8859-1 without_utf8.pl: text/plain; charset=utf-8 with_utf8.pl: text/plain; charset=utf-8 $