$ perl -MCGI -E "say CGI->new()->header(-type => 'text/html; charset=UTF-8')" Content-Type: text/html; charset=UTF-8