ID:               29983
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Verified
+Status:           Assigned
 Bug Type:         Apache2 related
 Operating System: *
 PHP Version:      5CVS-2005-03-07
-Assigned To:      
+Assigned To:      tony2001
 New Comment:

Assigned to myself so I don't forget to commit the patch.


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

[2004-09-06 05:01:23] [EMAIL PROTECTED]

Verified.  Doesn't look Apache2-specific to me.  It has to do with the
way we apply it, or rather don't apply it if we already see one set.

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

[2004-09-05 15:11:27] smacvicar at gmail dot com

It doesn't appear to send a charset entry when specified and you end up
with the AddDefaultCharset entry from Apache 2 which is ISO-8859-1.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23421

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

[2004-09-05 12:37:28] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=29983&edit=1

Reply via email to