cvs: phpweb /include shared.inc
| From: | Rasmus Lerdorf | Date: | Mon, 07 Aug 2000 01:05:41 +0000 |
| Subject: | cvs: phpweb /include shared.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1532@lists.php.net to get a copy of this message | ||
rasmus Sun Aug 6 18:05:41 2000 EDT
Modified files:
/phpweb/include shared.inc
Log:
Use UTF-8 in any /ja/ directory
Index: phpweb/include/shared.inc
diff -u phpweb/include/shared.inc:1.105 phpweb/include/shared.inc:1.106
--- phpweb/include/shared.inc:1.105 Sun Aug 6 17:28:39 2000
+++ phpweb/include/shared.inc Sun Aug 6 18:05:41 2000
@@ -316,7 +316,10 @@
$HAVE_SEARCH=$MIRRORS[$MYSITE][5];
Header("Vary: User-Agent");
- Header("Content-Type: text/html; charset=iso-8859-1");
+ if(substr(dirname($PHP_SELF),-2)=='ja')
+ Header("Content-Type: text/html; charset=utf-8");
+ else
+ Header("Content-Type: text/html; charset=iso-8859-1");
?>
<HTML>