in reply to Re^3: utf-8 always forced !!!
in thread utf-8 always forced !!!

I'm very sorry, but after reading the CPAN documentation I still don't understand how to do that... Please could you just write a few PERL lines showing practically the needed code to achieve the targeted result. Thank a lot and again sorry for my ignorance !

Replies are listed 'Best First'.
Re^5: utf-8 always forced !!!
by phaylon (Curate) on Feb 23, 2005 at 19:54 UTC
    Well, see the code below from perldoc CGI. Isn't it obvious how to set the charset?
    print $query->header(-type=>'image/gif', # <-think text/html -nph=>1, -status=>'402 Payment required', -expires=>'+3d', -cookie=>$cookie, -charset=>'utf-7', # <-charset -attachment=>'foo.gif', -Cost=>'$2.00');

    Ordinary morality is for ordinary people. -- Aleister Crowley