[Israel.pm] Re: Upcomming meeting: Hebrew and Perl

Shlomo Yona shlomo at cs.haifa.ac.il
Thu Jun 17 01:40:23 PDT 2004


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.
> 
> http://www.perl.org.il/pipermail/perl/2004-June/005140.html

Well -- now I do this:

my $charset='ISO-8859-8';

my $q = CGI->new;
# some code goes here
print 
	$q->header(-charset=>$charset),
        $q->start_html(
		-encoding=>$charset,
		-head=>$q->meta(
			{
				-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
anywya?

-- 
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/



More information about the Perl mailing list