[Tutor] browser encoding standards?
Alan Gauld
alan.gauld at btinternet.com
Tue Jul 14 01:55:33 CEST 2009
"Serdar Tumgoren" <zstumgoren at gmail.com> wrote
>> I guess you forgot to output a <meta> tag that defines the content-type
>> of
>> the page.
>
> Aha! Yes indeed. I was just writing out data quick and dirty for
> testing purposes and forgot to write out the headers. I added Content
> Header info and all works fine.
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?
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list