ID:               29983
 Comment by:       ashearerw at shearersoftware dot com
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: all
 PHP Version:      5CVS-2004-09-05 (dev)
 New Comment:

Reproducible on PHP 4.2.2 / Apache 2.
Not reproducible on PHP 4.3.8 / IIS / FastCGI.


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