Maybe it has something to do with how this section of php.ini is
configured in your case?

; As of 4.0b4, PHP always outputs a character encoding by default in
; the Content-type: header.  To disable sending of the charset, simply
; set it to be empty.
;
; PHP's built-in default is text/html
default_mimetype = "text/html"
default_charset = "iso-8859-1"



> -----Original Message-----
> From: Tzafrir Cohen [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, November 26, 2002 5:55 PM
> To: [EMAIL PROTECTED]
> Cc: Linux-IL mailing list
> Subject: Re: mozilla only sets utf-8 automatically on static html
> 
> 
> On Tue, 26 Nov 2002, Arie Folger wrote:
> 
> > Hi,
> >
> > I am puzzled. I am using the latest RH stable mozilla 
> (1.0.1-26), and 
> > noticed that dynamic (php) pages that are encoded in utf-8 
> (including 
> > the correct meta tag) are recognized as such by konqueror, 
> but not by 
> > mozilla.
> >
> > However, if I save the page, and then view it with mozilla, 
> the thing 
> > is displayed properly.
> >
> > Which leads me to believe that either php or apache 
> (version 2) sends 
> > out an xml header that specifies the character set as 
> iso-8859-1, and 
> > that such a header is only sent out for dynamic documents (hence my 
> > suspicion that php is guilty), and that the difference between 
> > konqueror and mozilla is what header they each give greater 
> priority 
> > to.
> 
> You should look for HTTP headers, as those override the 
> headers set in the file.
> 
> Try, e.g. 'wget --server-resposne --O /dev/null http://server/page'
> 
> -- 
> 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]
> 
> 

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