W3C home > Mailing lists > Public > www-tag@w3.org > September 2003

AddDefaultCharset considered harmful (Re: Requesting a revision of RFC3023)

From: Martin Duerst <duerst@w3.org>
Date: Thu, 25 Sep 2003 16:22:20 -0400
Message-Id: <4.2.0.58.J.20030925161926.060d38d0@localhost>
To: Tim Bray <tbray@textuality.com>
Cc: ietf-xml-mime@imc.org, WWW-Tag <www-tag@w3.org>

I have filed a bug with Apache bugzilla, asking that the
AddDefaultCharset setting in the httpd.conf file when shipped
be removed/commented out, and the comment fixed, at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23421.

I have commented on a related bug that I found, at
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14513.

I'm copying this list because what we have discussed here is
related. In particular, the comment in httpd.conf file
seems to say some quite strange things:

 >>>>>>>>
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
AddDefaultCharset ISO-8859-1
 >>>>>>>


Regards,    Martin.
Received on Thursday, 25 September 2003 16:35:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:21 GMT