Hello,


I have Linux RHEL v4, Apache web server 2.0.52-28.ent



[EMAIL PROTECTED] cgi-bin]# perl -MCGI -e 'print $CGI::VERSION'

3.05

 [EMAIL PROTECTED] cgi-bin]# perl -v

This is perl, v5.8.5 built for i386-linux-thread-multi



I'm having problem with displaying polish fonts on web page..



 When in perl script I put :



print "Content-type: text/html; charset=iso-8859-2\n\n";



 everything is OK.



 but when in perl script:



use CGI qw(:standard);



my $cgi=new CGI;

print 
$cgi->header(-type=>"text/html",-charset=>"iso-8859-2",-cookie=>$cookie); 
(*)

 I have garbled fonts on my screen.



When used :

print $cgi->header(-type=>"text/html",-cookie=>$cookie);

they are garbled too but in different way.



I need to use (*) because I'm using cookie.



Please help if you can.

Regards

Slawomir Orlowski







-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to