in reply to How to specify the default IO layer?

You can set the default IO layer in $ENV{PERLIO} if you have a perl with perlio.

$ perl -wle'print"\x{20ac}"' Wide character in print at -e line 1. € $ env PERLIO=:utf8 perl -wle'print"\x{20ac}"' € $

Enjoy, Have FUN! H.Merijn