X-Git-Url: http://git.sourceforge.jp/view?p=nucleus-jp%2Fnucleus-jp-ancient.git;a=blobdiff_plain;f=utf8%2Fxml-rss2.php;h=f07a9d477514551ce9cd5db22ab9b9d65554feab;hp=52264b99157a36bfe18367da2ca6a84823c5aaca;hb=e25a5c9db7e283bc88c8fd87d8c3f746409440db;hpb=d7a25422945bba2685d32a8aab3eaa262279e755 diff --git a/utf8/xml-rss2.php b/utf8/xml-rss2.php index 52264b9..f07a9d4 100755 --- a/utf8/xml-rss2.php +++ b/utf8/xml-rss2.php @@ -45,6 +45,7 @@ if (!$CONF['DisableSite']) { header('HTTP/1.0 304 Not Modified'); header('Content-Length: 0'); } else { + if (strtolower(_CHARSET) != 'utf-8') {$feed = mb_convert_encoding($feed, "UTF-8", _CHARSET);} header("Content-Type: application/xml"); // dump feed echo $feed;