W3C home > Mailing lists > Public > www-international@w3.org > January to March 2010

RE: For review: Character encodings in HTML and CSS

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Tue, 16 Feb 2010 00:07:56 +0100
To: ishida@w3.org
Cc: CE Whitehead <cewcathar@hotmail.com>, www-international@w3.org
Message-ID: <20100216000756300776.00afd44a@xn--mlform-iua.no>
Richard,

I spotted an error:

CE Whitehead, Mon, 15 Feb 2010 17:25:08 -0500:

>> Speaking about using HTTP: Under the heading "What is a HTTP header" 
>> 
(<http://www.w3.org/International/tutorials/tutorial-char-enc/temp#httpheadwhat>), 
>> it is adviced to configure Apache to server all HTML pages encoded as 
>> UTF8:
>> 
>> "AddType 'text/html; charset=UTF-8' html"

You forgot to add a 'dot' before 'html', like so:

AddType 'text/html; charset=UTF-8' .html

See examples here:

http://httpd.apache.org/docs/1.3/mod/mod_mime.html#addtype
http://httpd.apache.org/docs/2.0/mod/mod_mime.html#addtype
-- 
leif halvard silli
Received on Monday, 15 February 2010 23:08:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 February 2010 23:08:34 GMT