Forum Moderators: phranque
I did some modifications on the httpd.conf and I dont know if it's the one that's affecting it.
I suspect it's the Addlanguage settings where I disabled all but one en - becoz me site is only in english - could that be the problem?
But strange thing is I also uploaded the file to validate & it had the same message error, but when I tried it on CSE lite it's ok.
You need to specify which character encoding your web page uses.
The best way to do this is to add this line..
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ..inside the <head> of the document.
That specifies that the page uses the ISO Latin 1 character set, which should be fine for any english based document. If you used foreign or more unusual characters then you might want to consider the
utf-8 character set instead.
[webmasterworld.com...]
[webmasterworld.com...]
The problem, of course, is that some validators (including the w3c.org one) will refuse to validate files on my computer, since they do not have access to the charset. The Web Design Group's validator allows you to input the charset on the validation page, and Tidy seems to assume ISO-8859-1 or even ASCII.
The advantage of having the server supply the charset is that a single line of code does the job for the entire site.
The Web Design Group's validator allows you to input the charset on the validation page
Ummm.. the w3c validator lets you do this too. :)
That's what the 'Encoding' drop-down is for on the [validator.w3.org...] page