OSDN Git Service

merged 3.15rc3 modification
[nucleus-jp/nucleus-jp-ancient.git] / euc / xml-rss2.php
index 5af9419..505220d 100755 (executable)
@@ -38,6 +38,8 @@ if (!$CONF['DisableSite']) {
                header("HTTP/1.0 304 Not Modified");\r
                header('Content-Length: 0');\r
        } else {\r
+               $feed = mb_convert_encoding($feed, "UTF-8", "EUC-JP");\r
+               header("Content-Type: application/xml");\r
                // dump feed\r
                echo $feed;\r
        }\r