in reply to Re: CGI::Application header problem
in thread CGI::Application header problem
Shouldn't make any difference here (as charset is part of the Content-Type header):
$ perl -MCGI -E "say CGI->new()->header(-type => 'text/html', -charset + =>'UTF-8')" Content-Type: text/html; charset=UTF-8
vs. what the OP had:
$ perl -MCGI -E "say CGI->new()->header(-type => 'text/html; charset=U +TF-8')" Content-Type: text/html; charset=UTF-8
(CGI::App's header_add is eventually passed to CGI.pm's header method)
|
---|