X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;ds=sidebyside;f=euc%2Fxml-rss2.php;h=50cc02cc330f571984fe5fa7c0d86255ac12d0fd;hb=fb6c3bdd93bc511a1ea19ad813fba5beb0244c7c;hp=5af9419805139b987242dbe5e3c0243386cf4001;hpb=6d9b8148423fcdcd09a7650a59cc3fa31a9e0218;p=nucleus-jp%2Fnucleus-jp-ancient.git diff --git a/euc/xml-rss2.php b/euc/xml-rss2.php index 5af9419..50cc02c 100755 --- a/euc/xml-rss2.php +++ b/euc/xml-rss2.php @@ -2,7 +2,7 @@ /** * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/) - * Copyright (C) 2002-2004 The Nucleus Group + * Copyright (C) 2002-2005 The Nucleus Group * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -38,6 +38,8 @@ if (!$CONF['DisableSite']) { header("HTTP/1.0 304 Not Modified"); header('Content-Length: 0'); } else { + $feed = mb_convert_encoding($feed, "UTF-8", "EUC-JP"); + header("Content-Type: application/xml"); // dump feed echo $feed; }