use utf8; use CGI qw(-utf8); binmode(STDOUT, ":utf8");