Hello

I wrote a script that creates dynamic html. I validated the resulting html
code with W3C and it couldn't validate it because it didn't detect the
character encoding. I added the meta information to the header with
the -meta argument:

$q->start_html( -dtd => '-//W3C//DTD HTML 4.01 Transitional//EN',
                           -title=>'Test',
                           -meta=>{http_equiv=>'content-type',
                                   content=>'text/html; charset=ISO-8859-1'}

          ),

The resulting html code looks like this:

<!DOCTYPE html
 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en-US">
<head>
<title>Test</title>
<meta name="content" content="text/html; charset=ISO-8859-1">
<meta name="http_equiv" content="content-type">
</head>
(...)

Any ideas how I can solve this?

Regards
Richard



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to