httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skating Jim <skating...@yahoo.com>
Subject Re: [users@httpd] AddDefaultCharset and Multiple Encodings
Date Wed, 01 Feb 2006 05:41:18 GMT
I agree with your distinction between what Apache does
and how the browser responds to it.  Sorry for the
inaccuracy on my part.

The basis for my comment is that the Apache
documentation for AddDefaultCharset says:

"This should override any charset specified in the
body of the response via a META  element, though the
exact behavior is often dependent on the user's client
configuration."

Mozilla 1.7.12 and Opera 8.51 give priority to the
HTTP charset encoding and therefore comply with the
"should" statement in the Apache documentation.  IE6.0
gives priority to the Content-Type meta element in the
HTML head instead.

Unfortunately, taking the advice of the Apache
documentation prevents the more compliant browsers
from correctly rendering the content from a given
server using the AddDefaultCharset directive unless
that same charset encoding is used across the entire
site.  Although Apache is not responsible for this,
compliance with the "should" statement in its
documentation is.

I think the Apache documentation should not recommend
overriding the meta element, because what's in the
meta element is most likely to be correct.  Does this
make sense or am I still off target?

Jim 


--- Joshua Slive <joshua@slive.ca> wrote:

(...cut...)

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

(...cut...)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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