On Thu, 3 Oct 2002, Reuven M. Lerner wrote:

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

[After Sagi upgraded to RH8.0, which includes apache 2]

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

There are a number of incompatible ways to encode Hebrew (e.g:
ISO-8859-8/visual, cp1255/logical and UTF-8). So simply saying that the
language is Hebrew is not enough for the browser.

Normally it is easy for the web designer to control the html file, and
less simple to control the actual http header.

Setting a server-wide default to a certain charset is certainly not a wise
default. I would consider it a misconfiguration of RH's side.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir




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