#31146 [NEW]: default_charset variable is not used
From: mitya at demos dot su
Operating system: Solaris 9
PHP version: 4.3.10
PHP Bug Type: PHP options/info functions
Bug description: default_charset variable is not used
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 bug report at http://bugs.php.net/?id=31146&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31146&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31146&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31146&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31146&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31146&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31146&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31146&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31146&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31146&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31146&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31146&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31146&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31146&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31146&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31146&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31146&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31146&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31146&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31146&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31146&r=mysqlcfg
Thread (9 messages)
- mitya at demos dot su