--- Begin Message ---
Hi Sagi, AddDefaultCharset is enabled by default now to prevent some
browser security issues. You can override the default using, for
instance, "AddDefaultCharset off" in an .htaccess file. The docs are
here:
http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset
Feel free to pass this message on to the mailing list.
Regards,
joe
On Thu, Oct 03, 2002 at 10:19:01AM +0200, Sagi Bashari wrote:
>
> From: Tzafrir Cohen <[EMAIL PROTECTED]>
> To: "Reuven M. Lerner" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], Linux-IL mailing list <[EMAIL PROTECTED]>
> Date: Thu, 3 Oct 2002 09:54:58 +0300 (IDT)
> Subject: Re: apache2 hebrew issue + solution
>
> 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
>
>
>
>
--- End Message ---