use utf8; binmode(STDOUT, ":utf8"); binmode(STDERR, ":utf8");