On 30/07/2003 21:30, Oded Arbel wrote:

Just comment the default encoding in httpd.conf to make it use the meta
tag in your files. HTML headers have higher priority than meta tags.



This is not correct - HTML meta tags override HTTP headers, as they are a higher level of abstraction and convey a knowledge the lower level cannot have, of the content of the transmission.


I know there are some broken browsers (no names) which for some weird combination of settings disregard HTML meta tags in favor of headers, but this is hardly the norm, nor the standard.


From the apache manual (http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset):

"This directive specifies the name of the character set that will be added to any response that does not have any parameter on the content type in the HTTP headers. This will override any character set specified in the body of the document via a |META| tag. A setting of |AddDefaultCharset Off| disables this functionality. |AddDefaultCharset On| enables Apache's internal default charset of |iso-8859-1| as required by the directive. You can also specify an alternate charset to be used. For example:

| AddDefaultCharset utf-8"
|

|It seems wrong to me too, but thats what they say.
|

|Sagi
|




================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to