XHTML validation for simple CGI Scripts - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

XHTML validation for simple CGI Scripts

WEBSAMWEBSAM Posts: 1Member
Hello,

I am hoping someone may be of assistance. when using a simple

print "Content-Type: text/html

";

[...] statement, even though if what follows is :

my $HEADER = <<"ENDOFHEADER";
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">




ENDOFHEADER

print $HEADER;
print $RESTOFTHEPAGE; #regardless of that it is

The W3C Validator returns: No Character Encoding Found! Using iso-8859-1.

I don't quite understand what I need to do with this and online searchs have not helped me much.

Thanks in advance!!



Sign In or Register to comment.