use CGI -utf8; my $q = CGI->new; print $q->header(qw/ -charset UTF-8 / ), $q->start_html, $q->param('unicodes');