Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: CGI::Application header problem

by Anonyrnous Monk (Hermit)
on Dec 27, 2010 at 23:36 UTC ( #879338=note: print w/ replies, xml ) Need Help??

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's header method)

Comment on Re^2: CGI::Application header problem
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://879338]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-12-26 00:46 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (163 votes), past polls