Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Charset & html validation

Status
Not open for further replies.

Cheech

Technical User
Nov 6, 2000
2,933
EU
I have the following in the head of some web pages But the pages are "failing HTML validation with "This Page Is Tentatively Valid HTML 4.01 Transitional" the error reported is "No Character Encoding Found! Falling back to UTF-8". well it might be me but I can clearly see a charset of iso-8859-1 which works fine on other sites but not this one???

Any one got any ideas?

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"><!--[/URL] InstanceBegin template="/Templates/tmplIntTeaSci_transcripts.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
 <meta http-equiv="content-language" content="en" />

[Peace][Pipe]
 
[/closed]
believe it or not there was a img tag in the page that had a space missing.
Code:
<img src="../images/icon_printer.gif" alt="Printer icon" width="20" height="17"title="Printer icon" />
to
Code:
<img src="../images/icon_printer.gif" alt="Printer icon" width="20" height="17" title="Printer icon" />

But why the hell that would throw up a charset error on validation is totally beyond me.

Code ya just gotta love it dont ya!!!

[Peace][Pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top