OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-jp-ancient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code Cleanup(BLOG.php/ADMIN.php)
[nucleus-jp/nucleus-jp-ancient.git]
/
utf8
/
xml-rss2.php
diff --git
a/utf8/xml-rss2.php
b/utf8/xml-rss2.php
index
52264b9
..
f07a9d4
100755
(executable)
--- 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;