It outputs this:print $query->header(-charset=>'utf-8'); print $query->start_html(-encoding=>'utf-8');
It sets the charset in the HTTP header, and the encoding on the XML. It does not add any meta http-equiv tag with the Content-Type, but that is not needed since the Content-Type is set in the header.Content-Type: text/html; charset=utf-8 <?xml version="1.0" encoding="utf-8"?>
What browser is not setting the encoding from the Content-Type?
In reply to Re: Two CGI.pm problems
by iburrell
in thread Two CGI.pm problems
by ido50
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |