Re: PHP 4.0 Bug #3714: Output page header(page encoding) problem

From: Date: Fri, 03 Mar 2000 02:04:37 +0000
Subject: Re: PHP 4.0 Bug #3714: Output page header(page encoding) problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-16328@lists.php.net to get a copy of this message
This code has been beefed up in the CVS, you can now select your default charset (or disable the charset attribute altogether) using configuration directives. Zeev On 3 Mar 2000 eagle_z@hotmail.com wrote: > 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. > > > > > -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#16328) next »