#31146 [Opn]: default_charset variable is not used

From: Date: Fri, 17 Dec 2004 09:37:01 +0000
Subject: #31146 [Opn]: default_charset variable is not used
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70463@lists.php.net to get a copy of this message
 ID:               31146
 Updated by:       derick@php.net
 Reported By:      mitya at demos dot su
 Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: Solaris 9
 PHP Version:      4.3.10
 New Comment:

I can not reproduce this, it works fine for me. (On both PHP 4 and 5).


Previous Comments:
------------------------------------------------------------------------

[2004-12-17 10:31:06] mitya at demos dot su

Description:
------------
I am using PHP 4.3.10 with Apache 1.3.29 as DSO module.
I changed default_charset variable in php.ini to a custom
value ("koi8-r").  phpinfo() reports that the value of this variable is
in fact "koi8-r".

But HTTP headers for any PHP page on my server looks as follows:
Content-type=text/html; charset=

that is charset is empty.

I wonder is it a bug or an intended behaviour (what are the reasons to
not apply the value of charset specified in php.ini in that case)?

Thanks in advance!



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31146&edit=1


Thread (9 messages)

« previous php.bugs (#70463) next »