W3C home > Mailing lists > Public > www-international@w3.org > July to September 2004

RE: faq suggestions

From: Jony Rosenne <rosennej@qsm.co.il>
Date: Sun, 22 Aug 2004 17:42:31 +0300
To: "'Jakub Friedl'" <kyknos@gmail.com>
Cc: <www-international@w3.org>
Message-ID: <000101c48856$42ab63f0$0401c80a@QSM4>

Since this is a FAQ item, it should be noted that the charset meta tag has
effect only when the HTTP header does not specify a charset.

Please see http://www.w3.org/TR/html401/charset.html#h-5.2.2

It says:

To sum up, conforming user agents must observe the following priorities when
determining a document's character encoding (from highest priority to
lowest):

An HTTP "charset" parameter in a "Content-Type" field. 
A META declaration with "http-equiv" set to "Content-Type" and a value set
for "charset". 
The charset attribute set on an element that designates an external
resource. 

Jony


> -----Original Message-----
> From: www-international-request@w3.org 
> [mailto:www-international-request@w3.org] On Behalf Of Tex Texin
> Sent: Sunday, August 22, 2004 2:54 PM
> To: Jakub Friedl
> Cc: www-international@w3.org
> Subject: Re: faq suggestions
> 
> 
> 
> Jakub,
> 
> The charset meta statement should go first. In fact it should 
> be placed immediately after the <head> statement. Otherwise 
> text in the page prior to the charset statement may not be 
> decoded correctly.
> 
> tex
> 
> "Jakub Friedl (by way of Martin Duerst )" wrote:
> > 
> > shoudl meta tag with information about used charset be 
> placed before 
> > or after the  title element?
> > --
> > Jakub Friedl * Cygnis Insignis
> 
> -- 
> -------------------------------------------------------------
> Tex Texin   cell: +1 781 789 1898   mailto:Tex@XenCraft.com
> Xen Master                          http://www.i18nGuy.com
>                          
> XenCraft		            http://www.XenCraft.com
> Making e-Business Work Around the World
> -------------------------------------------------------------
> 
> 
> 
> 
Received on Sunday, 22 August 2004 14:42:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:03 GMT