rss: declare UTF-8 charset

This commit is contained in:
nodiscc 2014-12-22 07:37:38 +01:00
parent c5a239a332
commit fcd6740d57

View file

@ -153,6 +153,7 @@ if (is_writeable(".")) {
/* XML Gen */ /* XML Gen */
/*===================*/ /*===================*/
$temp = explode("\n", $content); $temp = explode("\n", $content);
echo "<?xml version='1.0' encoding='UTF-8 '?>\n";
echo "<rss version='2.0'>\n<channel>"; echo "<rss version='2.0'>\n<channel>";
echo "<title>$title</title>"; echo "<title>$title</title>";
echo "<link>$gallery_link</link>"; echo "<link>$gallery_link</link>";