cvs: php-news-web / common.inc
| From: | jim winstead | Date: | Wed, 23 Jan 2002 22:47:39 +0000 |
| Subject: | cvs: php-news-web / common.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-8292@lists.php.net to get a copy of this message | ||
jimw Wed Jan 23 17:47:39 2002 EDT
Modified files:
/php-news-web common.inc
Log:
set charset in content-type header
Index: php-news-web/common.inc
diff -u php-news-web/common.inc:1.10 php-news-web/common.inc:1.11
--- php-news-web/common.inc:1.10 Wed Jan 23 17:44:48 2002
+++ php-news-web/common.inc Wed Jan 23 17:47:38 2002
@@ -1,6 +1,8 @@
<?php /* vim: set ft=php : */
-function head($title="php news") {?>
+function head($title="php news") {
+ header("Content-type: text/html; charset=iso-8859-1");
+?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>