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: <>
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

I have commented on a related bug that I found, at

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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:01 UTC