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

See the CGI Documentation at cpan. Look for "Creating a standard HTTP Header".

Ordinary morality is for ordinary people. -- A.C.

Replies are listed 'Best First'.
Re^4: utf-8 always forced !!!
by Anonymous Monk on Feb 23, 2005 at 18:29 UTC
    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 !
      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