[Tutor] browser encoding standards?

Kent Johnson kent37 at tds.net
Tue Jul 14 13:33:50 CEST 2009


On Mon, Jul 13, 2009 at 7:55 PM, Alan Gauld<alan.gauld at btinternet.com> wrote:

> OK, What kind of meta tag should I include?
> I have a couple, but not very many meta tags in my files. I try to
> minimalise
> content and maintain HTML 3.2 compatibility for oldr browsers.
>
> What would a content-type meta line look like to get round this
> quoting problem? My O'Reilly pocket reference suggests:
>
> <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
>
> Would that suffice?

Yes, that should do it. The other alternative, if you have control of
the web server, is to set the actual content-type header sent by the
server. The meta tag is a way to simulate that from the contents of
the page.

Kent


More information about the Tutor mailing list