httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] AddDefaultCharset and Multiple Encodings
Date Tue, 31 Jan 2006 14:29:46 GMT
On 1/31/06, Skating Jim <skatingjim@yahoo.com> wrote:
> The AddDefaultCharset directive overrides any encoding
> settings in served content.  Is there a way to force a
> default encoding only when none is explicitly
> indicated in the content?

No, it doesn't.  It set's an HTTP charset only when none exists. 
Perhaps what you are seeing is the fact that browsers will use the
charset specified in the html <head> when no HTTP charset is present. 
But this has really nothing to do with apache.  I have seen certain
modules that will read the html, extract the charset, and put it in
the http headers.  But I don't think I know of any way to do exactly
what you are looking for.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message