#21640 [Opn->Bgs]: phpinfo() should contain character encoding to be valid html

From: Date: Wed, 15 Jan 2003 01:22:00 +0000
Subject: #21640 [Opn->Bgs]: phpinfo() should contain character encoding to be valid html
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30052@lists.php.net to get a copy of this message
ID: 21640 Updated by: sniper@php.net Reported By: hanno@gmx.de -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Linux PHP Version: 4.3.0 New Comment: It's a debug tool. There's absolutely NO reason for it being 100% valid as long as it can be READ. Previous Comments: ------------------------------------------------------------------------ [2003-01-14 16:56:41] hanno@gmx.de Well, iso-8859-1 was only an example-tag. It is really simple to implement, so why not making it valid. ------------------------------------------------------------------------ [2003-01-14 12:15:53] derick@php.net Why care for a debug tool? It's not that phpinfo() is supposed to be used everywhere. Also iso-8859-1 might not be always correct. ------------------------------------------------------------------------ [2003-01-14 12:14:14] hanno@gmx.de The phpinfo()-function should contain a character encoding meta-tag. This would make it valid html with the w3c-validator at http://validator.w3.org. The meta-tag would be like: <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21640&edit=1

« previous php.bugs (#30052) next »