Posted by Harlan Messinger on 12/27/07 23:15
rf wrote:
> "charles cashion" <tennis-fan@dunjas.com> wrote in message
> news:4BVcj.11856$1q4.10189@trnddc06...
>
>> I have worked on it until I am down to one warning.
>
>> The warning says I must declare my character set.
>
>> *QUESTION* How do I remove this warning?
>
> Declare a character set. It's a meta element (http-equiv, content).
>
> The text of the warning points to "a few tips..." on how to do this. Or just
> look at the source that came from the validator.
>
Well, actually, the *server* should be configured to send an HTTP header
with this information. Failing that, and especially if the server is
configured to send the *wrong* information, the next best approach if
one is using any kind of server-side technology like PHP or ASP(.NET) is
to set the character set programmatically. The meta tag solution is a
last resort (though it's the only resort for an HTML document being
opened locally instead of being requested from a web server).
[Back to original message]
|