From:             [EMAIL PROTECTED]
Operating system: all
PHP version:      5CVS-2004-09-05 (dev)
PHP Bug Type:     Apache2 related
Bug description:  default_charset not set by ini_set

Description:
------------
default_charset is marked as PHP_INI_ALL but I can't set it using ini_set.
If I set it throught .htaccess it works fine.

Reproduce code:
---------------
<?
ini_set('default_charset', 'UTF-8');
?>

Expected result:
----------------
HTTP/1.1 200 OK
(...)
Content-Type: text/html; charset=UTF-8

Actual result:
--------------
HTTP/1.1 200 OK
(...)
Content-Type: text/html; charset=ISO-8859-1

-- 
Edit bug report at http://bugs.php.net/?id=29983&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29983&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29983&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29983&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29983&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29983&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29983&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29983&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29983&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29983&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29983&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29983&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29983&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29983&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29983&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29983&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29983&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29983&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29983&r=float

Reply via email to