[Israel.pm] Re: Upcomming meeting: Hebrew and Perl
bruck at actcom.net.il
Thu Jun 17 04:14:37 PDT 2004
Shlomo Yona wrote:
> On Thu, 17 Jun 2004, Gabor Szabo wrote:
>>BTW I think in the example Shlomo sent just 2 weeks ago
>>you could see how he sets the HTTP header.
> Well -- now I do this:
> my $charset='ISO-8859-8';
> my $q = CGI->new;
> # some code goes here
> -http_equiv =>'Content-Type',
> -content =>"text/html; charset=$charset"
> It works great under standard obeying browsers.
> IE still won't interpret the output as ISO-8859-8.
> The server (Apache) is set to have as default 'UTF-8', and I
> cannot change that.
> Any ideas how to have IE supported? What is bugging IE
I managed fine with this:
my $cgi = new CGI;
$cgi -> charset('8859-8-i');
print $cgi -> header();
More information about the Perl