>>>>> "Sagi" == Sagi Bashari <[EMAIL PROTECTED]> writes:

    Sagi> Turns out that by default apache2 sends charset header
    Sagi> itself, which is set to "ISO-8859-1". The strange thing is
    Sagi> that the meta tags didn't override it.

Why is this strange?  The HTML standard says pretty clearly that meta
tags only work when the character set isn't explicitly named in the
HTTP header.  See section 5.2.2 in this document:

    http://www.w3.org/TR/REC-html40/charset.html

    Sagi> Fixing it is pretty easy, simply comment the
    Sagi> "AddDefaultCharset" line in your httpd.conf.

Right -- if you remove the "charset" from the HTTP header, then the
meta tag will work.

Unfortunately, many Web designers in Israel think that meta tags are
the right way to indicate that a document contains Hebrew, which has
led to a lot of confusion over the years.

Reuven


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