|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-14 12:14 UTC] hanno at gmx dot 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"> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 08:00:01 2025 UTC |
Well, it seems that this is already implenented, only commented out. After looking at /php-4.3.0/ext/standard/info.c I found these lines: /* php_printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=%s\" />\n", charset); */ So you just have to uncomment it and it'll work.