X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=utf8%2Fxml-rss2.php;h=304ef7c1c6c27349482d6b4d627014daf3b22756;hb=4cc8e9f75ed3646dad16aa14937b5da813c29bb4;hp=f07a9d477514551ce9cd5db22ab9b9d65554feab;hpb=2b46202be704d37f6170887c5ae2889aba80502a;p=nucleus-jp%2Fnucleus-jp-ancient.git diff --git a/utf8/xml-rss2.php b/utf8/xml-rss2.php index f07a9d4..304ef7c 100755 --- a/utf8/xml-rss2.php +++ b/utf8/xml-rss2.php @@ -45,7 +45,9 @@ 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);} + if (strtolower(_CHARSET) != 'utf-8') { + $feed = mb_convert_encoding($feed, "UTF-8", _CHARSET); + } header("Content-Type: application/xml"); // dump feed echo $feed;