Hi all, I followed the recent thread on Unicode output, but I still have a question. When writing static XHTML files, I use
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> to indicate the character set. This works fine. But when generating output, this method does not work. I have to use: print $q->header(-type=>'text/html', -charset=>'utf-8'); print qq{<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> [...] Using print $q->header; without parameters results in incorrect display of 8-bit characters. AFAIK, my ISP's Apache webserver serves HTML files with the standard text/html header, i.e. without a charset specified. Why do I have to specify the charset in the header when generating pages with Perl/CGI? Why doesn't the meta tag suffice? Thanks, Jan -- Common sense is what tells you that the world is flat. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>