PHP 4.0 Bug #3714: Output page header(page encoding) problem
| From: | eagle_z at hotmail dot com | Date: | Fri, 03 Mar 2000 02:04:22 +0000 |
| Subject: | PHP 4.0 Bug #3714: Output page header(page encoding) problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16327@lists.php.net to get a copy of this message | ||
From: eagle_z@hotmail.com
Operating system: RedHat 6.1
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Scripting Engine problem
Bug description: Output page header(page encoding) problem
The page outputed by PHP-4.0b4pl1 contain a Header like this:
"Content-type: text/html;charset=iso-8859-1"
If my script contains non-iso-8859-1 characters, like Chinses(charset=gb2312 or charset=big5), it
would cause a display problem, the characters can be read(but the page source code is ok).
the related source code is located in file:
php-4.0b4pl1/sapi/apache/mod_php4.c, line 431 and 463.